<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: add empty row?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/add-empty-row</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/add-empty-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>spectrus on add empty row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/add-empty-row#p4686</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/add-empty-row#p4686</guid>
        	        	<description><![CDATA[<p>Thank you both very much!</p>
]]></description>
        	        	<pubDate>Tue, 17 Feb 2009 10:28:32 +0200</pubDate>
        </item>
        <item>
        	<title>tony on add empty row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/add-empty-row#p4658</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/add-empty-row#p4658</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>If you put empty string for the rowid (or false) you row will have the id = totalrecords_in_grid + 1;</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 17 Feb 2009 01:11:41 +0200</pubDate>
        </item>
        <item>
        	<title>cartman on add empty row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/add-empty-row#p4654</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/add-empty-row#p4654</guid>
        	        	<description><![CDATA[<p>Another easy one!</p>
<p>To get all the column names just parse the row array from getRowData like this:</p>
<p>row_array = getRowData(anyrowid);</p>
<p>for ( var column in row_array)&#160; {<br />&#160;&#160; // column contains the name of the column, put your code here<br />}</p>
]]></description>
        	        	<pubDate>Mon, 16 Feb 2009 18:02:19 +0200</pubDate>
        </item>
        <item>
        	<title>spectrus on add empty row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/add-empty-row#p4650</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/add-empty-row#p4650</guid>
        	        	<description><![CDATA[<p>Yes, I was aware of the addRowData function. But what if I don&#39;t have the info on the columns? Can I get that information somehow? I tried getColProp(), but that just gives back and object that has no properties in Firebug.</p>
<p>Edit: Oh, right, never mind the bit about getColProp, just clued in that I have to supply it with a column name. Still looking for a way to get the number of columns of an existing grid.</p>
<p>Thank you!</p>
]]></description>
        	        	<pubDate>Mon, 16 Feb 2009 16:03:54 +0200</pubDate>
        </item>
        <item>
        	<title>cartman on add empty row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/add-empty-row#p4648</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/add-empty-row#p4648</guid>
        	        	<description><![CDATA[<p>Easy, just fill a variable with all blanks then append using addRowData.</p>
<p>You may want to use getDataIDs to obtain the last rowid.</p>
<p>var datarow = {id:&#39;&#39;,.....(all your columns here)};<br />var su=jQuery("#grid").addRowData(lastrowid+1,datarow);</p>
]]></description>
        	        	<pubDate>Mon, 16 Feb 2009 15:49:36 +0200</pubDate>
        </item>
        <item>
        	<title>spectrus on add empty row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/add-empty-row#p4647</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/add-empty-row#p4647</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Is there a simple straightforward way to append an empty row to the end of the grid? I want to make sure that it&#39;s the same height on all the pages, even if the number of results returned for last page is smaller than the current number of rows per page.</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Mon, 16 Feb 2009 15:28:30 +0200</pubDate>
        </item>
</channel>
</rss>