[CLOSED] bug on Filter Column

  1. #1

    [CLOSED] bug on Filter Column

    If you have a column with initial state as hidden= true then making visible on the client makes filter textbox invisible .For ex
    <ext:Column ID="clRiskLevel" Hidden="true" runat="server" DataIndex="RiskLevel" Text="Risk Level">
         <HeaderItems>
                <ext:TextField runat="server" ID="txtFilterRiskLevel" EnableKeyEvents="true">
                         <Listeners>
                               <Change Handler="am.fn.applyFilter(this);" Buffer="250">
                               </Change>
                         </Listeners>
                  </ext:TextField>
         </HeaderItems>
      </ext:Column>
    Making the column visible filter Textfiled is not displayed
    Last edited by Daniil; Jun 07, 2013 at 4:19 AM. Reason: [CLOSED]
  2. #2
    Hi @odyssey,

    Thank you for the report!

    Here is a sample to reproduce. We are investigating.

    Example
    <%@ Page Language="C#" %>
     
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!X.IsAjaxRequest)
            {
                Store store = this.GridPanel1.GetStore();
                store.DataSource = new object[] 
                { 
                    new object[] { "test1", "test2", "test3" },
                    new object[] { "test4", "test5", "test6" },
                    new object[] { "test7", "test8", "test9" }
                };
            }
        }
    </script>
    
    <!DOCTYPE html>
    <html>
    <head runat="server">
        <title>Ext.NET v2 Example</title>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
    
            <ext:Button runat="server" Text="Show the hidden column" Handler="App.Column1.show();" />
    
            <ext:GridPanel ID="GridPanel1" runat="server">
                <Store>
                    <ext:Store runat="server">
                        <Model>
                            <ext:Model runat="server">
                                <Fields>
                                    <ext:ModelField Name="test1" />
                                    <ext:ModelField Name="test2" />
                                    <ext:ModelField Name="test3" />
                                </Fields>
                            </ext:Model>
                        </Model>
                    </ext:Store>
                </Store>
                <ColumnModel runat="server">
                    <Columns>
                        <ext:Column 
                            ID="Column1" 
                            runat="server" 
                            Text="Test1" 
                            DataIndex="test1" 
                            Hidden="true">
                            <HeaderItems>
                                <ext:TextField runat="server" Text="Text 1" />
                            </HeaderItems>
                        </ext:Column>
                        <ext:Column runat="server" Text="Test2" DataIndex="test2">
                            <HeaderItems>
                                <ext:TextField runat="server" Text="Text 2" />
                            </HeaderItems>
                        </ext:Column>
                        <ext:Column runat="server" Text="Test3" DataIndex="test3">
                            <HeaderItems>
                                <ext:TextField runat="server" Text="Text 3" />
                            </HeaderItems>
                        </ext:Column>
                    </Columns>
                </ColumnModel>
            </ext:GridPanel>        
        </form>
    </body>
    </html>
  3. #3
    Hi,

    Fixed in SVN
    Vladimir Shcheglov
    Sr. Developer

Similar Threads

  1. Replies: 2
    Last Post: May 01, 2012, 4:57 PM
  2. Ext:Column and Filter Icon
    By cwolcott in forum 2.x Help
    Replies: 6
    Last Post: Mar 21, 2012, 1:53 PM
  3. Keep focus on column after sort/set filter
    By plykkegaard in forum 1.x Help
    Replies: 1
    Last Post: Dec 15, 2010, 11:05 AM
  4. [CLOSED] Grid Column filter
    By majestic in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Nov 26, 2010, 1:35 PM
  5. [CLOSED] Missing filter column using MultiHeader Filter.
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 12, 2010, 1:07 PM

Posting Permissions