<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsDetachFromGridList?action=history&amp;feed=atom</id>
	<title>DgsDetachFromGridList - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsDetachFromGridList?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsDetachFromGridList&amp;action=history"/>
	<updated>2026-04-06T02:53:26Z</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=DgsDetachFromGridList&amp;diff=67833&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;__NOTOC__  {{Client function}} This function allows you to detach a specific dgs element from a dgs gridlist.  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; bool dgsDetachFromGridL...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsDetachFromGridList&amp;diff=67833&amp;oldid=prev"/>
		<updated>2020-11-28T18:15:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}} This function allows you to detach a specific dgs element from a dgs gridlist.  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool dgsDetachFromGridL...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function allows you to detach a specific dgs element from a dgs gridlist.&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 dgsDetachFromGridList( element dgsElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''dgsElement:''' An element you want to detach.&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns ''true'' if successful, ''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;
gridlist= DGS:dgsCreateGridList(50,50,100,100,false) -- create a gridlist&lt;br /&gt;
row = DGS:dgsGridListAddRow(gridlist) -- create a row for the gridlist&lt;br /&gt;
column = DGS:dgsGridListAddColumn(gridlist,&amp;quot;Title&amp;quot;,1) -- create a column for the gridlist&lt;br /&gt;
label = DGS:dgsCreateLabel(0,200,100,100,&amp;quot;label&amp;quot;, false) -- create a label&lt;br /&gt;
DGS:dgsAttachToGridList(label,gridlist,row,column) -- attach label to gridlist&lt;br /&gt;
DGS:dgsDetachFromGridList(label) -- detach&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>