﻿<?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 - filtrer column that is marked as non-editable</title><link>http://www.intersoftsolutions.com/Community/WebGrid/filtrer-column-that-is-marked-as-non-editable/</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>filtrer column that is marked as non-editable</title><link>http://www.intersoftsolutions.com/Community/WebGrid/filtrer-column-that-is-marked-as-non-editable/</link><pubDate>Tue, 01 Jun 2010 22:56:28 GMT</pubDate><dc:creator>julia</dc:creator><description>&lt;p&gt;Hi Johnny,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;In order to filter a non-editable column, you can use this snippet :&lt;/p&gt;&lt;pre&gt; function WebGrid1_OnRowSelect(controlId, tblName, rowIndex, rowEl) {           

            var WebGrid1 = ISGetObject(controlId);
            if (WebGrid1.GetSelectedObject().GetRowObject().Type == "FilterRow") {
                WebGrid1.GetSelectedObject().ToRowObject().GetCells().GetNamedItem("CustomerID").SetForceNoEdit(false);                
            }
            else {
                WebGrid1.GetSelectedObject().ToRowObject().GetCells().GetNamedItem("CustomerID").SetForceNoEdit(true);
            }
            return true;
        }&lt;/pre&gt;
&lt;p&gt;with AllowEdit is set to true.&lt;/p&gt;
&lt;p&gt;Hope this help.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Julia&lt;/p&gt;</description></item><item><title>filtrer column that is marked as non-editable</title><link>http://www.intersoftsolutions.com/Community/WebGrid/filtrer-column-that-is-marked-as-non-editable/</link><pubDate>Tue, 01 Jun 2010 19:09:32 GMT</pubDate><dc:creator>jleyva@bisa.com.pe</dc:creator><description>&lt;p&gt;exist a option that can enable the filter to a column that is marked as non-editable&lt;/p&gt;</description></item></channel></rss>