<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/CustomTableView:removeLine?action=history&amp;feed=atom</id>
	<title>CustomTableView:removeLine - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/CustomTableView:removeLine?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomTableView:removeLine&amp;action=history"/>
	<updated>2026-10-10T03:09:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.1</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomTableView:removeLine&amp;diff=57513&amp;oldid=prev</id>
		<title>AriosJentu at 09:03, 6 August 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomTableView:removeLine&amp;diff=57513&amp;oldid=prev"/>
		<updated>2018-08-06T09:03:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:03, 6 August 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__NOTOC__&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__NOTOC__&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Client function}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Client function}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This function &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;adds &lt;/del&gt;line &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to &lt;/del&gt;Custom Table View.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This function &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;removes &lt;/ins&gt;line &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;from &lt;/ins&gt;Custom Table View.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Syntax ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Syntax ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki-wiki_dev_:diff:1.41:old-57511:rev-57513:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>AriosJentu</name></author>
	</entry>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=CustomTableView:removeLine&amp;diff=57511&amp;oldid=prev</id>
		<title>AriosJentu: Created page with &quot;__NOTOC__ {{Client function}} This function adds line to Custom Table View.  == Syntax == &lt;syntaxhighlight lang=&quot;lua&quot;&gt; nil CustomTableView:removeLine([cline/int Line]) &lt;/synta...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=CustomTableView:removeLine&amp;diff=57511&amp;oldid=prev"/>
		<updated>2018-08-06T09:00:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ {{Client function}} This function adds line to Custom Table View.  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; nil CustomTableView:removeLine([cline/int Line]) &amp;lt;/synta...&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 adds line to Custom Table View.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
nil CustomTableView:removeLine([cline/int Line])&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other Arguments === &lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Line&amp;#039;&amp;#039;&amp;#039; - Index of Line in Table View (from 1) or Line Object, returned with [[CustomTableView:addLine]]. Default is &amp;#039;&amp;#039;last&amp;#039;&amp;#039;.	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
[[Image:CustomTabViewDefault.png|thumb|right|Code Example]]&lt;br /&gt;
[[Image:CustomTableViewAsScrollableList.png|thumb|right|Code Example with &amp;quot;K&amp;quot; clicked]]&lt;br /&gt;
This example creates window with table view, here added some columns and lines (rows), changed indentation between lines, removed line, removed column, set selected line, and filling of cells. Bound &amp;#039;&amp;#039;K&amp;#039;&amp;#039; button for showing and hiding title panel of Table View:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local Window = CustomWindow.create(50, 50, 250, 220, &amp;quot;Example&amp;quot;)&lt;br /&gt;
local TabView = CustomTableView.create(5, 25, 130, 40, false, Window)&lt;br /&gt;
&lt;br /&gt;
TabView:addLine(21)&lt;br /&gt;
local nline = TabView:addLine(25)&lt;br /&gt;
TabView:addLine(21)&lt;br /&gt;
local line = TabView:addLine(28)&lt;br /&gt;
TabView:addLine(21)&lt;br /&gt;
TabView:addLine(31)&lt;br /&gt;
TabView:addLine(21)&lt;br /&gt;
TabView:addLine(35)&lt;br /&gt;
TabView:addLine(21)&lt;br /&gt;
&lt;br /&gt;
TabView:removeLine(line)&lt;br /&gt;
TabView:setIndentation(5)&lt;br /&gt;
TabView:setSize(240, 190, false)&lt;br /&gt;
&lt;br /&gt;
TabView:setSelectedLine(3)&lt;br /&gt;
&lt;br /&gt;
TabView:addColumn(&amp;quot;Example&amp;quot;, 90)&lt;br /&gt;
TabView:addColumn(&amp;quot;Removed&amp;quot;, 90)&lt;br /&gt;
local col = TabView:addColumn(&amp;quot;Saved&amp;quot;, 90)&lt;br /&gt;
TabView:addColumn(&amp;quot;Last&amp;quot;, 90)&lt;br /&gt;
&lt;br /&gt;
TabView:removeColumn(&amp;quot;Removed&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
for i = 1, TabView:getLinesCount() do&lt;br /&gt;
	for j = 1, TabView:getColumnsCount() do&lt;br /&gt;
		TabView:setCellText(i, j, i..&amp;quot; &amp;quot;..j)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
bindKey(&amp;quot;k&amp;quot;, &amp;quot;up&amp;quot;, function()&lt;br /&gt;
	TabView:setTitleBarVisible(not TabView:getTitleBarVisible())&lt;br /&gt;
end)&lt;br /&gt;
&lt;br /&gt;
Window:setColorScheme(Themes.Dark.Red)	&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{CWSFUNCS}}&lt;/div&gt;</summary>
		<author><name>AriosJentu</name></author>
	</entry>
</feed>