Get an Epic Experience with Premium

lib-ScrollingTable

Libraries Login to Add Favorites
  • 1 Like
  • World of Warcraft
  • 192 Monthly Downloads
  • Supports: 4.1
  • 12,064 Total Downloads
  • Updated 06/05/2011
  • Created 10/14/2008
  • 16 Favorites
  • Project Site
  • Comments
  • Release Type: Mature
  • License: GNU General Public License version 2 (GPLv2)
  • Newest File: v4.0
or
Support development! **
Donate

About lib-ScrollingTable

lib-st provides a convenient way to create and display a scrolling table of data.
Supply column info and your table data, and you're off!

To get a handle in lua:

local ScrollingTable = LibStub("ScrollingTable");

To package in your addon, add to your .pkgmeta file:

externals:
    Libs/lib-st: 
        url: svn://svn.wowace.com/wow/lib-st/mainline/trunk
        tag: latest

Leave off the tag line if you want the absolute lastest alpha version from the site. (I try to keep a stable copy tagged as latest)

New Features:

Added support for calling SetData with a minimal dataset which can drastically reduce the number of tables that exist within the mod... at a slight cost to customization.

Other recent changes

If no args or colorargs are specified for value and color functions, respectively, instead of no args, these args will be passed:

function (data, cols, realrow, column, sttable)  
    -- sttable is a reference to the scrolling table
end

Here's some nitty-gritty:

  • Set names and widths of columns, lib-st will set the table width on it's own!
  • Set the number of rows, and a value to use for row height, lib-st will set the table height on it's own!
  • Set background colors for each column.
  • Set column text alignment.
  • Set column text color.
  • Set row text color.
  • Set text color on a cell-by-cell basis.
  • Supply functions to be evaluated for cell data, and cell/row/column text colors!
  • Filter table data via a filter funtion.
  • Table sorts are NON-DESTRUCTIVE. Data or the order of data supplied is never changed (unless modified by user supplied functions) for the display of the table. No copies of the data are made either. 1 Table, your data, sort it, index it as it was when it was created, update it as you see fit.
  • Hookable ui events. find out more here
  • Custom cell formatting with a custom display function
  • Enable selection on your scrolling table


Find out how to create a scrolling table using lib-st!
Let me know if you use it!!

-> Screenshots

Known consumers of lib-st

------------------------------------------------------------------------
r146 | ddumont | 2011-06-06 00:43:21 +0000 (Mon, 06 Jun 2011) | 1 line
Changed paths:
   A /tags/v4.0 (from /trunk:145)

New release with updated TOC
------------------------------------------------------------------------
r145 | ddumont | 2011-06-06 00:42:40 +0000 (Mon, 06 Jun 2011) | 1 line
Changed paths:
   M /trunk/lib-st.toc

TOC update
------------------------------------------------------------------------
r143 | ddumont | 2011-06-06 00:37:23 +0000 (Mon, 06 Jun 2011) | 1 line
Changed paths:
   M /trunk/Core.lua

IsRowVisible API
------------------------------------------------------------------------
r142 | ddumont | 2011-04-25 00:58:51 +0000 (Mon, 25 Apr 2011) | 1 line
Changed paths:
   M /trunk/Core.lua

Project is not inactive
------------------------------------------------------------------------

Comments

Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

WildStar Add-on Contest!

Enter Now!