<?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: jqGrid Editing - override logic to define cell value</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-editing-override-logic-to-define-cell-value</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/jqgrid-editing-override-logic-to-define-cell-value/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on jqGrid Editing - override logic to define cell value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-editing-override-logic-to-define-cell-value#p29116</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-editing-override-logic-to-define-cell-value#p29116</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>All celevents (cellattr, formatter and etc) are aplied before load complete, so you can not do this with the standard grid cell events.</p>
</p>
<p>Regards</p></p>
]]></description>
        	        	<pubDate>Tue, 09 Jul 2013 16:32:31 +0300</pubDate>
        </item>
        <item>
        	<title>elvik on jqGrid Editing - override logic to define cell value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-editing-override-logic-to-define-cell-value#p29112</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-editing-override-logic-to-define-cell-value#p29112</guid>
        	        	<description><![CDATA[<p>Hello.</p>
<p>Quotation from <a href="/jqgridwiki/doku.php?id=wiki:common_rules" target="_blank">wiki</a> for checkbox:</p>
<p><span style="color: #0000ff;"><em>defines a checkbox; when the value is Yes, the checkbox becomes checked,  otherwise it is unchecked. This value is passed as a parameter to the  editurl.</em></span></p>
<p><span style="color: #0000ff;"><em> If in editoptions, the value property is not set, jqGrid searches for  the following values (false&#124;0&#124;no&#124;off&#124;undefined) in order to construct  the checkbox. If the cell content does not contain one of these values,  then the value attribute becomes the cell content and offval is set to  off.</em></span>
</p>
<p>I want take value for checkbox not from cell content, but from attribute <strong>data-val</strong>, which I define myself on loadComplete event handler.</p>
<p>Was:</p>
<p><strong>&#60;td aria-describedby="data_grid_col1"&#160;title="0"&#160;style=""&#160;role="gridcell"&#62;<span style="color: #ff0000;">0</span>&#60;/td&#62;</strong></p>
<p>Become:</p>
<p><strong>&#60;td aria-describedby="data_grid_col1"&#160;title="0"&#160;style=""&#160;role="gridcell" <span style="color: #ff0000;">data-val="0"</span>&#62;<span style="color: #ff0000;">No</span>&#60;/td&#62;</strong></p>
</p>
<p>Is there some event, or some another way to achieve this?</p>
<p>Thank you.</p>
]]></description>
        	        	<pubDate>Mon, 08 Jul 2013 18:28:39 +0300</pubDate>
        </item>
</channel>
</rss>