Garry's Mod Wiki

DListView:GetLine

Panel DListView:GetLine( number id )

Description

Gets the DListView_Line at the given index.

Arguments

1 number id
The index of the line to get.

Returns

1 Panel
The DListView_Line at the given index.

Example

An example of how to retrieve a DListView_Line from a DListView.

local list = vgui.Create( "DListView" ) list:AddColumn( "Name" ) list:AddLine( "Garry :D" ) print( list:GetLine( 1 ) )
Output: Panel: [name:DListView_Line][class:Panel][0,0,64,24]

Page Links


Special Pages


Wikis

?

Render Time: 49ms

DB GetPage 19
Generate Html 3
SaveChanges (1) 19
Render Body 0
Render Sidebar 5