<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsGridListGetItemFont?action=history&amp;feed=atom</id>
	<title>DgsGridListGetItemFont - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsGridListGetItemFont?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsGridListGetItemFont&amp;action=history"/>
	<updated>2026-05-15T19:03:19Z</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=DgsGridListGetItemFont&amp;diff=77212&amp;oldid=prev</id>
		<title>A7M8D: Created page with &quot;{{Client function}}  With this function you can retrieve the font of an item in a dgs grid list.&lt;br/&gt;   ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; var dgsGridListGetItemFont ( element gridList, int rowIndex, int columnIndex ) &lt;/syntaxhighlight&gt;   ===Required Arguments===  *'''gridList:''' the grid list containing the item you're interested in *'''rowIndex:''' the row index of the item *'''columnIndex:''' the column index of the item  ===Returns=== Returns the font of the s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsGridListGetItemFont&amp;diff=77212&amp;oldid=prev"/>
		<updated>2023-07-27T07:13:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Client function}}  With this function you can retrieve the font of an item in a dgs grid list.&amp;lt;br/&amp;gt;   ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; var dgsGridListGetItemFont ( element gridList, int rowIndex, int columnIndex ) &amp;lt;/syntaxhighlight&amp;gt;   ===Required Arguments===  *&amp;#039;&amp;#039;&amp;#039;gridList:&amp;#039;&amp;#039;&amp;#039; the grid list containing the item you&amp;#039;re interested in *&amp;#039;&amp;#039;&amp;#039;rowIndex:&amp;#039;&amp;#039;&amp;#039; the row index of the item *&amp;#039;&amp;#039;&amp;#039;columnIndex:&amp;#039;&amp;#039;&amp;#039; the column index of the item  ===Returns=== Returns the font of the s...&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;
With this function you can retrieve the font of an item in a dgs grid list.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
var dgsGridListGetItemFont ( element gridList, int rowIndex, int columnIndex )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''gridList:''' the grid list containing the item you're interested in&lt;br /&gt;
*'''rowIndex:''' the row index of the item&lt;br /&gt;
*'''columnIndex:''' the column index of the item&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns the font of the specified item if successful, ''false'' if one of the arguments was invalid.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
This example gets a random item from the gridlist.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
function clientsideResourceStart ()&lt;br /&gt;
    local numberList = DGS:dgsCreateGridList ( 0.80, 0.10, 0.15, 0.60, true )&lt;br /&gt;
    local column = DGS:dgsGridListAddColumn ( numberList, &amp;quot;Column Title&amp;quot;, 0.85 )&lt;br /&gt;
    if ( column ) then&lt;br /&gt;
        local row = DGS:dgsGridListAddRow ( numberList )&lt;br /&gt;
        local myItem = DGS:dgsGridListSetItemText ( numberList, row, column, tostring( math.random(0, 10) ^ 100 ) )&lt;br /&gt;
        DGS:dgsGridListSetItemData ( numberList, row, column, &amp;quot;Test&amp;quot; )&lt;br /&gt;
        local myItemFont = DGS:dgsGridListGetItemData ( numberList, row, column ) -- item Font&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
addEventHandler ( &amp;quot;onClientResourceStart&amp;quot;, resourceRoot, clientsideResourceStart )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>A7M8D</name></author>
	</entry>
</feed>