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.
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 ).
DListView DListView_Line:GetListView()
Returns the parent DListView of this line.
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.
Alias of DListView_Line:GetColumnText. Overrides Panel:GetValue.
boolean DListView_Line:IsLineSelected()
Returns whether this line is selected.
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.
Sets the string held in the specified column of a DListView_Line panel.
This is used internally - although you're able to use it you probably shouldn't.
Sets the ID of this line, used internally by DListView:AddLine.
DListView_Line:SetListView( DListView pnl )
This is used internally - although you're able to use it you probably shouldn't.
Sets the parent DListView for this line. Used internally by DListView:AddLine.
DListView_Line:SetSelected( boolean selected )
Sets whether this line is selected or not.
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.