DListView_Line
Description
This is used internally - although you're able to use it you probably shouldn't.
A panel used by DListView
Parent
Derives methods, etc not listed on this page from Panel.
Implements
Implements or overrides the following hooks/methods. If you want to override these, you probably want to call the original function too.
Events
DListView_Line:OnRightClick()
Called when the player right clicks this line.
DListView_Line:OnSelect()
Called when the player selects this line.
Methods
DListView_Line:DataLayout( DListView pnl )
This is used internally - although you're able to use it you probably shouldn't.
Called by DListView:DataLayout
boolean DListView_Line:GetAltLine()
Returns whether this line is odd or even in the list. This is internally used (and set) to change the looks of every other line.
string DListView_Line:GetColumnText( number column )
Gets the string held in the specified column of a DListView_Line panel.
This is the same thing as doing DListView_Line:GetValue( column_number ).
any DListView_Line:GetSortValue( number column )
Returns the data stored on given cell of this line.
Used in the DListView:SortByColumn function in case you want to sort with something else than the text.
DListView_Line:SetAltLine( boolean alt )
This is used internally - although you're able to use it you probably shouldn't.
Sets whether this line is odd or even in the list. This is internally used (and set automatically) to change the looks of every other line.
DLabel DListView_Line:SetColumnText( number column, string value )
Sets the string held in the specified column of a DListView_Line panel.
DListView_Line:SetSortValue( number column, any data )
Allows you to store data per column.
Used in the DListView:SortByColumn function in case you want to sort with something else than the text.