<?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: Adding buttons to a field</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/adding-buttons-to-a-field</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/adding-buttons-to-a-field/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Adding buttons to a field</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-buttons-to-a-field#p7501</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-buttons-to-a-field#p7501</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Using custom formatter</p>
</p>
<p>mybuttonadd = function(cellvalue, opt, roawdata) {</p>
<p>var mybutton = "&#60;input type=&#39;button&#39; onclick=&#39;myfunc("+opt.rowId+")&#39; value=&#39;clickme&#39; /&#62;";</p>
<p>return cellval+mybutton; // or mybutton+cellvalue</p>
<p>}</p>
<p>function myfunc(id)</p>
<p>{</p>
<p>alert(id);</p>
<p>}</p>
</p>
<p>then you can in colModel&#160; - formatter: mybuttonadd</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 27 Jun 2009 10:53:12 +0300</pubDate>
        </item>
        <item>
        	<title>kenstone on Adding buttons to a field</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-buttons-to-a-field#p7444</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-buttons-to-a-field#p7444</guid>
        	        	<description><![CDATA[<p>Can someone provide an example of how to do this? I&#39;m missing how to define where the button is.</p>
]]></description>
        	        	<pubDate>Wed, 24 Jun 2009 13:27:30 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Adding buttons to a field</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-buttons-to-a-field#p6980</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-buttons-to-a-field#p6980</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>We already have edittype button and you can use dataInit or dataEvents in editoptions. Also refer to Changes.txt how to implement this.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 31 May 2009 11:08:49 +0300</pubDate>
        </item>
        <item>
        	<title>scavanger on Adding buttons to a field</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-buttons-to-a-field#p6948</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-buttons-to-a-field#p6948</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Im also interested in adding a field to each row that contains a button that calls an onclick that calls a javascript function.&#160; I am having a hard time figuring out how to add the button to the field, I am using 3.5 beta and I tried following the custom edit example as a guide from the 3.5 demo and firebug just kept returning errors.</p>
<p>I was wondering if anyone might have done something like this and had an example of adding a button to a field, that i might be able to look at.</p>
</p>
<p>Thank you so much in advance for any help anyone can give.</p>
]]></description>
        	        	<pubDate>Thu, 28 May 2009 09:02:45 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Adding buttons to a field</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-buttons-to-a-field#p6875</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-buttons-to-a-field#p6875</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You vcan use custom formatter for this purpose. Note that in 3.5 the custom formatter is changed.</p>
<p>Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Mon, 25 May 2009 02:28:46 +0300</pubDate>
        </item>
        <item>
        	<title>bluehat on Adding buttons to a field</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/adding-buttons-to-a-field#p6835</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/adding-buttons-to-a-field#p6835</guid>
        	        	<description><![CDATA[<p>I was wondering how I&#39;d go about adding a field to each row of data that contained a button.&#160; I&#39;m trying to create an order system where I can click a button in a row and have it added to another grid on the same page.</p>
<p>I know there was a demo for adding buttons to each row but I can&#39;t seem to find it.</p>
<p>And as far as part two, is it possible to click a row button in one grid and add it to an &#39;order grid&#39; on the same page?</p>
</p>
<p>Thanks.</p>
]]></description>
        	        	<pubDate>Thu, 21 May 2009 11:24:49 +0300</pubDate>
        </item>
</channel>
</rss>