﻿<?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 - How to disable 'Select All' header row checker while using row checker in datagrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-disable-Select-All-header-row-checker-while-using-row-checker-in-datagrid/</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>How to disable 'Select All' header row checker while using row checker in datagrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-disable-Select-All-header-row-checker-while-using-row-checker-in-datagrid/</link><pubDate>Thu, 07 Apr 2011 20:52:56 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt; "&gt;Glad to hear that the script helps.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt; "&gt;Should you need further assistance or run into any technical 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>How to disable 'Select All' header row checker while using row checker in datagrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-disable-Select-All-header-row-checker-while-using-row-checker-in-datagrid/</link><pubDate>Thu, 07 Apr 2011 08:32:51 GMT</pubDate><dc:creator>DilshadK</dc:creator><description>&lt;p&gt;Thank you for this script. It is working fine.&lt;/p&gt;</description></item><item><title>How to disable 'Select All' header row checker while using row checker in datagrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-disable-Select-All-header-row-checker-while-using-row-checker-in-datagrid/</link><pubDate>Wed, 06 Apr 2011 21:27:41 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;You can try to disable the select all checkbox that available in the header by using JavaScript code.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;First step, we will need to obtain the element of the select all checkbox. The snippet code below is a sample about how to get the element of the select all checkbox that available in the column header. In this sample, the row checker is placed in the first column of WebGrid. Please note that you might need to modify the code if the IsRowChecker column has different index location.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;function Button1_onclick() {
    var WebGrid1 = ISGetObject("WebGrid1");
    var rowCheckerElm = WebGrid1.RootTable.GetElement(WG40.COLHEADER, WG40.HTMLTABLE).cells[1].childNodes[0].childNodes[0].childNodes[0];

    //disable the rowCheckerElm
    rowCheckerElm.disabled = true;

    //remove or hide the rowCheckerElm
    //rowCheckerElm.style.display = "none";

    return true;
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;After get the element of the checkbox, we can disable it by setting the disabled property to true. We can even hide/remove it by setting the display style property to “none”.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to disable 'Select All' header row checker while using row checker in datagrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-disable-Select-All-header-row-checker-while-using-row-checker-in-datagrid/</link><pubDate>Wed, 06 Apr 2011 04:06:16 GMT</pubDate><dc:creator>DilshadK</dc:creator><description>&lt;p&gt;I'm using the row checker in my datagrid.&lt;/p&gt;
&lt;p&gt;but i want to disable the select all  checkbox available in the header.&lt;/p&gt;
&lt;p&gt;How could i achieve that.&lt;/p&gt;</description></item></channel></rss>