Thread Tools Display Modes
06-07-10, 03:22 AM   #1
dharock
A Murloc Raider
Join Date: Jun 2010
Posts: 4
Red face Table display with scrollbar

hello

i'm trying to create a custom channel manager who can list players with some information on them onto a windows, with actions and eventually auto messages.

Sso far i got most of the interface done and i'm stuck on what it seems a simple thing as i can't seems to find any information on it:
How to display in columns the content of a table into a scrollframe (or any other frame with a scrollbar) with a possible sort on columns ?

Cheers and sorry for being a newb
  Reply With Quote
06-13-10, 03:07 PM   #2
dharock
A Murloc Raider
Join Date: Jun 2010
Posts: 4
anybody can help me so i can start back ?
  Reply With Quote
06-18-10, 02:28 PM   #3
dharock
A Murloc Raider
Join Date: Jun 2010
Posts: 4
i really need some advice.
if anybody want to help me quickly, i'm sure it's something stupid i'm missing.
  Reply With Quote
06-18-10, 03:30 PM   #4
lilsparky
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 117
you can look at lib-scrollingtable at wowace.

there's no built-in to do what you want.
  Reply With Quote
06-18-10, 05:55 PM   #5
dharock
A Murloc Raider
Join Date: Jun 2010
Posts: 4
ok so how would you do it ? display 100+ lines into a window ?

and tbh it's just the displaying into a table which is a problem for me
  Reply With Quote
06-18-10, 06:26 PM   #6
lilsparky
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 117
me? i wrote code to do it in gnomeworks. but before i did that, i used libscrollingtable in gnomishyellowpages.

lib-st is pretty easy to get something simple up and running.

http://www.wowace.com/addons/lib-st/
  Reply With Quote
06-25-10, 12:05 PM   #7
pyromanci
A Defias Bandit
Join Date: Jun 2010
Posts: 3
Ok,

I wanted to do the same thing, but with the dev for libst not wanting to answer a question I figure i'll ask.

i do this:
Code:
local gui = LibStub("AceGUI-3.0")
local con = LibStub("AceConsole-3.0")
local libst = LibStub("ScrollingTable")
local profFrame = gui:Create("Frame")
profFrame:SetLayout("Fill")
local table = libst:CreateST(nil, nil, nil, nil, profFrame)
and it give me
\Libs\AceGUI-3.0\AceGUI-3.0.lua:460: ScrollTable1:SetParent(): Couldn't find 'this' in parent object
  Reply With Quote
06-25-10, 01:27 PM   #8
lilsparky
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 117
libst isn't a gui object. i think there's somebody who's made a wrapper to put it in an ace3 gui widget (farmbuyer maybe?) so if you need that, try to tack him down on wowace.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Table display with scrollbar


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off