﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Capturing Data Changes To cell on client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Capturing-Data-Changes-To-cell-on-client-side/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Capturing Data Changes To cell on client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Capturing-Data-Changes-To-cell-on-client-side/</link><pubDate>Thu, 16 Dec 2010 02:58:47 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Ok, thank you for your confirmation. However,You could not mark this as answer because this is a discussion thread.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Capturing Data Changes To cell on client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Capturing-Data-Changes-To-cell-on-client-side/</link><pubDate>Wed, 15 Dec 2010 12:02:49 GMT</pubDate><dc:creator>JohnnyBravo</dc:creator><description>&lt;p&gt;Thank you. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;This has answered my question for the checkbox checking.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I will review again whether the on after exit edit gets fired if the user changes the numeric value field and then hits the return key.&lt;/p&gt;
&lt;p&gt;I think the threads have changed since I last used them. How do I set this thread as being answered.&lt;/p&gt;</description></item><item><title>Capturing Data Changes To cell on client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Capturing-Data-Changes-To-cell-on-client-side/</link><pubDate>Tue, 14 Dec 2010 21:58:44 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Shouldn't when you hit enter in edit state, it would make you exit from edit mode?&lt;br /&gt;That's why I think you can also use this for your scenario.&lt;br /&gt;Because you only want to change the other cell text/value after change the current cell, correct?&lt;br /&gt;I think It can be done from this clientside event.&lt;/p&gt;
&lt;p&gt;You could not check the checkbox by using that way. We have a Check method.&lt;br /&gt;You would need to use the method and check it also via element.&lt;br /&gt;&lt;br /&gt;E.g &lt;br /&gt;//check all checkbox via button click&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;function Button1_onclick() 
{
     var grid = ISGetObject("WebGrid1"); 
     for(var j=0;j&amp;lt;i;j&amp;#43;&amp;#43;)
     {
        grid.RootTable.GetRow(rowIndex[j]).GetCells()[0].GetElement().childNodes[0].checked = true;
        grid.RootTable.GetRow(rowIndex[j]).Check();
     }
      return true;
}&lt;/pre&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>Capturing Data Changes To cell on client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Capturing-Data-Changes-To-cell-on-client-side/</link><pubDate>Tue, 14 Dec 2010 19:26:51 GMT</pubDate><dc:creator>JohnnyBravo</dc:creator><description>&lt;p&gt;OK, the OnExitEditMode doesn't seem to fire if you hit the enter key. Is there another event? &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Also, OnCheckBoxClick works but I have a problem.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;When the user unchecks the checkbox, I ask them if this is what they want to do. If they answer no I can't seem to check the checkbox in javascript. I tried using:&lt;/p&gt;&lt;pre style="font-family: consolas"&gt;selectedRow.GetCells().GetNamedItem(&lt;span style="color: maroon"&gt;"approved_flag"&lt;/span&gt;).SetValue(true)&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;but the UI does not reflect the change even when I call &lt;/p&gt;&lt;pre style="font-family: consolas"&gt;grid.RootTable.UpdateUI();&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;afterward. How can I check the checkbox in javascript?&lt;/p&gt;</description></item><item><title>Capturing Data Changes To cell on client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Capturing-Data-Changes-To-cell-on-client-side/</link><pubDate>Tue, 07 Dec 2010 22:53:03 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello John,&lt;/p&gt;
&lt;p&gt;You can use &lt;strong&gt;OnExitEditMode&lt;/strong&gt; to validate to capture if you have changed a numeric column or not. For the checkbox, we have &lt;strong&gt;OnCheckBoxClick&lt;/strong&gt; clientside event. If you used our checkbox, you will surely be able to use this event.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Capturing Data Changes To cell on client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Capturing-Data-Changes-To-cell-on-client-side/</link><pubDate>Mon, 06 Dec 2010 09:45:52 GMT</pubDate><dc:creator>JohnnyBravo</dc:creator><description>&lt;p&gt;I have a grid with some numerical columns and a checkbox. I need to capture if they changed a numeric column on the client side. If they do, I want to check a checkbox on the record. Conversely, if they check a checkbox on a record, I want to take a numeric column and make its value zero.&lt;/p&gt;
&lt;p&gt;Which event fires on the client side which will allow me to do this.&lt;/p&gt;</description></item></channel></rss>