<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsGridListItemIsSelected?action=history&amp;feed=atom</id>
	<title>DgsGridListItemIsSelected - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsGridListItemIsSelected?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsGridListItemIsSelected&amp;action=history"/>
	<updated>2026-05-12T17:56:31Z</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=DgsGridListItemIsSelected&amp;diff=56269&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;{{Client function}}  This function returns a bool value indicates whether the item is selected.(Different from dgsGridListGetSelectedItem, this function is always used in...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsGridListItemIsSelected&amp;diff=56269&amp;oldid=prev"/>
		<updated>2018-07-20T06:32:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Client function}}  This function returns a bool value indicates whether the item is selected.(Different from &lt;a href=&quot;/wiki/DgsGridListGetSelectedItem&quot; title=&quot;DgsGridListGetSelectedItem&quot;&gt;dgsGridListGetSelectedItem&lt;/a&gt;, this function is always used in...&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;
&lt;br /&gt;
This function returns a bool value indicates whether the item is selected.(Different from [[dgsGridListGetSelectedItem]], this function is always used in multi-selecting mode)&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int dgsGridListItemIsSelected( 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 grid list you want to check&lt;br /&gt;
*'''row:'''  Row Index&lt;br /&gt;
*'''column:''' Column Index&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns true if specific item is selected, false otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
{{Client function}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
showCursor(true)&lt;br /&gt;
local GridList = DGS:dgsCreateGridList ( 0.80, 0.10, 0.15, 0.60, true )&lt;br /&gt;
local column = DGS:dgsGridListAddColumn( GridList, &amp;quot;test&amp;quot;, 0.85 )&lt;br /&gt;
local row = DGS:dgsGridListAddRow ( GridList )&lt;br /&gt;
DGS:dgsGridListSetItemText (GridList, row, column, &amp;quot;1&amp;quot; )&lt;br /&gt;
DGS:dgsGridListSetSelectedItem(GridList, 1)&lt;br /&gt;
print(DGS:dgsGridListItemIsSelected(GridList,1,1)) --Return true&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>Thisdp</name></author>
	</entry>
</feed>