<?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: Grid that behaves like MS Access Table Editor</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/grid-that-behaves-like-ms-access-table-editor</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/grid-that-behaves-like-ms-access-table-editor/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>GambitDash on Grid that behaves like MS Access Table Editor</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-that-behaves-like-ms-access-table-editor#p27715</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-that-behaves-like-ms-access-table-editor#p27715</guid>
        	        	<description><![CDATA[<p>Hello folks -</p>
</p>
<p>Microsoft Access has, for decades now, a table editor with a very coherent feel to it.&#160; You add records, and it always provides a (New) record available of some kind.&#160; This is the workflow I would like to reproduce with jqGrid, and I think it should be possible with very few changes.&#160; I&#39;ve gotten very close already, but need some help - and a jsFiddle? - to get it to come together.</p>
</p>
<p>Here is the workflow:</p>
</p>
<p>We start with an empty table:</p>
<p><a href="http://www.rasterburn.org/~gambit/access_00.png"><img src="http://www.rasterburn.org/~gambit/access_00.png" width="100"  style="vertical-align: middle;" class="spUserImage" alt="Empty Table" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class=" sfmouseother" alt="Image Enlarger" /></a></p>
<p>Then, we click on the (New) record and add some data:</p>
<p><a href="http://www.rasterburn.org/~gambit/access_01.png"><img src="http://www.rasterburn.org/~gambit/access_01.png" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>Now we have one row that&#39;s been inserted into the table, and a new &#39;(New)&#39; row that has appeared.</p>
<p>Let&#39;s add another row:</p>
<p><a href="http://www.rasterburn.org/~gambit/access_02.png"><img src="http://www.rasterburn.org/~gambit/access_02.png" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>Again, there is always a (New) record that the user knows to click on to add a new row.</p>
<p>If we want to cancel an add:</p>
<p><a href="http://www.rasterburn.org/~gambit/access_03.png"><img src="http://www.rasterburn.org/~gambit/access_03.png" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>We can edit it halfway, and then press escape.&#160; Note the (New) record is present while editing the to-be-added record.&#160; Pressing escape cancels the add, and removes the record we were working on:</p>
<p>[Image Can Not Be Found]</p>
<p>And now we are back down to just the two records we started with.</p>
<p>Obviously, this is something that will use inline editing, mouse triggers, and keyboard &#39;escape&#39; to cancel.&#160; Adding a new record, and then removing the new record on &#39;new&#39; insertion and cancelling is the tricky part.</p>
<p>As an additional bit of detail, I would expect the new record to be saved when the user presses enter, and no serverside action to occur when the user presses cancel.&#160; Edits of other fields should also result in serverside events (I, personally, use JSON).</p>
<p>Can someone help string the necessary parts of this together?</p>
<p>Cheers,</p>
<p>--G</p>
]]></description>
        	        	<pubDate>Sat, 10 Nov 2012 20:41:25 +0200</pubDate>
        </item>
</channel>
</rss>