﻿<?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 - Control Header Row Checker Behaviour</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Control-Header-Row-Checker-Behaviour/</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>Control Header Row Checker Behaviour</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Control-Header-Row-Checker-Behaviour/</link><pubDate>Tue, 17 Jun 2014 17:03:17 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Glad to hear that the snippet code helps.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Control Header Row Checker Behaviour</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Control-Header-Row-Checker-Behaviour/</link><pubDate>Tue, 17 Jun 2014 10:04:36 GMT</pubDate><dc:creator>roiu@a-g-r-e.com</dc:creator><description>&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Control Header Row Checker Behaviour</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Control-Header-Row-Checker-Behaviour/</link><pubDate>Tue, 17 Jun 2014 05:02:31 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Following JS function get the checkbox element of RowChecker and invoke click() method to simulate click action&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;function ClickRowChecker()
{
    var grid = ISGetObject("WebGrid1");
    var colHeader = grid.RootTable.GetElement(WG40.COLHEADER, WG40.HTMLDIV);
    var colHeaderRow = colHeader.childNodes[0].childNodes[0].childNodes[0];
    var checkRowElm = colHeaderRow.childNodes[1].childNodes[0].childNodes[0].childNodes[0];
            
    checkRowElm.click();
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;To disable the checkbox element, simply set its &lt;em&gt;disabled&lt;/em&gt; to &lt;strong&gt;true&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;function DisableRowChecker()
{
    var grid = ISGetObject("WebGrid1");
    var colHeader = grid.RootTable.GetElement(WG40.COLHEADER, WG40.HTMLDIV);
    var colHeaderRow = colHeader.childNodes[0].childNodes[0].childNodes[0];
    var checkRowElm = colHeaderRow.childNodes[1].childNodes[0].childNodes[0].childNodes[0];
            
    checkRowElm.disabled = true;
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Control Header Row Checker Behaviour</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Control-Header-Row-Checker-Behaviour/</link><pubDate>Mon, 16 Jun 2014 08:36:50 GMT</pubDate><dc:creator>roiu@a-g-r-e.com</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is it possible to control the row checker (checkbox) behaviour via client side?&lt;/p&gt;&lt;p&gt;For instance disable/enable or override it's internal functionality.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>