<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsGridListGetItemSelectable?action=history&amp;feed=atom</id>
	<title>DgsGridListGetItemSelectable - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsGridListGetItemSelectable?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsGridListGetItemSelectable&amp;action=history"/>
	<updated>2026-04-06T07:41:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=DgsGridListGetItemSelectable&amp;diff=66693&amp;oldid=prev</id>
		<title>FlyingFork: Created page with &quot;{{Client function}} __NOTOC__ This function gets whether the item is selectable.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; bool dgsGridListGetItemSelectable( element gridlist,...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsGridListGetItemSelectable&amp;diff=66693&amp;oldid=prev"/>
		<updated>2020-05-25T20:16:55Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Client function}} __NOTOC__ This function gets whether the item is selectable.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool dgsGridListGetItemSelectable( element gridlist,...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Client function}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
This function gets whether the item is selectable.&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool dgsGridListGetItemSelectable( element gridlist, int row, int column )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''gridlist:''' The dgs grid list you want to set.&lt;br /&gt;
*'''row:''' The row index of the grid list.&lt;br /&gt;
*'''column:''' The row index of the grid list.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if the item is selected, ''false'' otherwise&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
&lt;br /&gt;
local playerList = DGS:dgsCreateGridList (346, 163, 433, 403, false )  --Create the grid list element&lt;br /&gt;
local column = DGS:dgsGridListAddColumn( playerList, &amp;quot;Player&amp;quot;, 0.5 )  --Create a players column in the list&lt;br /&gt;
for id, player in ipairs(getElementsByType(&amp;quot;player&amp;quot;)) do&lt;br /&gt;
	local row = DGS:dgsGridListAddRow ( playerList )&lt;br /&gt;
	DGS:dgsGridListSetItemText ( playerList, row, column, getPlayerName ( player ) )&lt;br /&gt;
	DGS:dgsGridListSetRowSelectable(playerList, row, false)&lt;br /&gt;
	iprint(DGS:dgsGridListGetItemSelectable(playerList, row, column))&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>FlyingFork</name></author>
	</entry>
</feed>