﻿<?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 - Which code is called by the grid itself when we click the filterbar item from grid's ContextMenu?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Which-code-is-called-by-the-grid-itself-when-we-click-the-filterbar-item-from-grids-ContextMenu/</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>Which code is called by the grid itself when we click the filterbar item from grid's ContextMenu?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Which-code-is-called-by-the-grid-itself-when-we-click-the-filterbar-item-from-grids-ContextMenu/</link><pubDate>Tue, 15 Mar 2011 00:05:44 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Yes. To show FilterBar, you need to use grid.ShowFilterBar(). Vice versa, To hide FilterBar, use grid.HideFilterBar(). The display area is automatically resized.&lt;br /&gt;Actually, it only hide the element of FilterBar.&lt;br /&gt;If you would like to know how it works, you can try to see the following code.&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;function Hide_onclick() 
{
            var grid = ISGetObject("WebGrid1");
            grid.HideFilterBar();
            alert(grid.RootTable.GetFilterRow().style.display);
}
function Show_onclick() 
{
            var grid = ISGetObject("WebGrid1");
            grid.ShowFilterBar();
            alert(grid.RootTable.GetFilterRow().style.display);
}&lt;/pre&gt;
&lt;p&gt;When hide the filter bar, it uses style display none. Vice versa, it uses style display " " to show the filter bar. Maybe you can use this as the flag.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy &lt;/p&gt;
&lt;p /&gt;</description></item><item><title>Which code is called by the grid itself when we click the filterbar item from grid's ContextMenu?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Which-code-is-called-by-the-grid-itself-when-we-click-the-filterbar-item-from-grids-ContextMenu/</link><pubDate>Mon, 14 Mar 2011 06:15:28 GMT</pubDate><dc:creator>foysal</dc:creator><description>&lt;p&gt;Which code do you use to show the filterbar in grid. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Is it only grid.ShowFilterBar()? because I found the grid row display area autometically get resized then l click filterbar from ConextMenu.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Another problem: Is there any flag which can give us information that the filterbar is currently visible or invisible?  &lt;/p&gt;</description></item><item><title>Which code is called by the grid itself when we click the filterbar item from grid's ContextMenu?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Which-code-is-called-by-the-grid-itself-when-we-click-the-filterbar-item-from-grids-ContextMenu/</link><pubDate>Thu, 10 Mar 2011 02:21:36 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Abdullah,&lt;/p&gt;&lt;p&gt;Please correct me if I am wrong in understanding your question. You want to know what WebGrid Filter mechanism or WebGrid does, when select an FilterItem from FilterContextMenu, correct?&lt;br /&gt;If yes, I would need to discuss with our developer to ensure the details.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Which code is called by the grid itself when we click the filterbar item from grid's ContextMenu?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Which-code-is-called-by-the-grid-itself-when-we-click-the-filterbar-item-from-grids-ContextMenu/</link><pubDate>Wed, 09 Mar 2011 07:00:38 GMT</pubDate><dc:creator>foysal</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which code is called by the grid itself when we click the filterbar item from grid's ContextMenu.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I need that exact function or code not just grid.ShowFilterbar() cause which is not good enough for me.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;br /&gt;&lt;/p&gt;
</description></item></channel></rss>