<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; JS: Найти номер строки в гугл таблице и удалить её]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=12661</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12661&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «JS: Найти номер строки в гугл таблице и удалить её».]]></description>
		<lastBuildDate>Sun, 07 May 2017 08:43:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: JS: Найти номер строки в гугл таблице и удалить её]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=115700#p115700</link>
			<description><![CDATA[<p>Решено. Может кому понадобится.<br /></p><div class="codebox"><pre><code>
data = sheet.getSheetValues(9, 3, sheet.getLastRow() - 8, 3);
    for(var i = 0; i &lt; data.length; i++)
    {
      if(data[i][0] == params[&quot;name&quot;])
      {
        if(params[&quot;del&quot;] == &quot;RDl0UEgXHw&quot;) ; // эта часть некий &quot;пароль&quot;. На самом деле она нужна была мне чтобы отделить функцию поиска от функции удаления, покраски ячейки и прочего.
        {
          sheet.deleteRow(i + 9);
          return HtmlService.createHtmlOutput(&quot;row deleted&quot;);
        }
	}
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (belyankin12)]]></author>
			<pubDate>Sun, 07 May 2017 08:43:32 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=115700#p115700</guid>
		</item>
		<item>
			<title><![CDATA[JS: Найти номер строки в гугл таблице и удалить её]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=115689#p115689</link>
			<description><![CDATA[<p>Здравствуйте. Через AHK я посылаю таблице get запрос, в котором указываю в качестве переменной уникальный текст. Этот текст - это имя игрока, оно встречается только в одной строчке во всей таблице. Мне нужно найти эту строчку и удалить её автоматически. Можете мне помочь в этом?</p>]]></description>
			<author><![CDATA[null@example.com (belyankin12)]]></author>
			<pubDate>Sat, 06 May 2017 14:52:12 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=115689#p115689</guid>
		</item>
	</channel>
</rss>
