[CLOSED] MultiHeader Remote Filtering

  1. #1

    [CLOSED] MultiHeader Remote Filtering

    Hello,

    I'm trying to use a filterheader with a date picker for a date column. I receive a JavaScript error saying

    Uncaught TypeError: Object [object Date] has no method 'split'
    I'm using the filter code from https://examples2.ext.net/#/GridPane...Header/Remote/ for paging/filtering/etc. Code sample Below.

    <ext:GridPanel runat="server" ID="GridPanel1" Region="North" Layout="HBoxLayout">
                        <SelectionModel>
                            <ext:RowSelectionModel ID="RowSelectionModel1" runat="server" AllowDeselect="true" Mode="Single" />
                        </SelectionModel>
                        <Store>
                            <ext:Store runat="server" AutoDataBind="true" ID="Store1" OnReadData="ReadStoreData" PageSize="10">
                                <Fields>
                                    <ext:ModelField Name="textfield1" Type="String" />
                                    <ext:ModelField Name="textfield2" Type="String" />
                                    <ext:ModelField Name="datefield1" Type="Date" />
                                    <ext:ModelField Name="textfield3" Type="String" />
                                    <ext:ModelField Name="textfield4" Type="String" />
                                    <ext:ModelField Name="textfield5" Type="String" />
                                </Fields>
                                <Proxy>
                                    <ext:PageProxy />
                                </Proxy>
                            </ext:Store>
                        </Store>
                        <ColumnModel>
                            <Columns>                            
                                <ext:DateColumn runat="server" Text="Activity Date" DataIndex="datefield1" Flex="10" Format="MM-dd-yyyy">
                                    <HeaderItems>
                                       <ext:DateField runat="server" Format="MM-dd-yyyy" ID="dateFilter" />
                                     </HeaderItems>
                                </ext:DateColumn>
                                <ext:Column ID="Column1" runat="server" Text="Project" DataIndex="textfield2" Flex="20"/>
                                <ext:Column runat="server" Text="Project Name" DataIndex="textfield3" Flex="50" />
                                <ext:Column runat="server" Text="Status" DataIndex="textfield4" Flex="30" />
                            </Columns>
                        </ColumnModel>
                        <BottomBar>
                            <ext:PagingToolbar runat="server" />
                        </BottomBar>
                        <Plugins>
                            <ext:FilterHeader runat="server" Remote="true" DateFormat="MM-dd-yyyy" />
                        </Plugins>
                    </ext:GridPanel>
    Thanks in advance for your help!
    Last edited by Daniil; Dec 18, 2013 at 2:53 AM. Reason: [CLOSED]
  2. #2
    Hello!

    Yes, it's strange, I think it should work without any tweaks. I'm not sure why it doesn't work, I'll ask my colleagues.
  3. #3
    We are considering it as a defect and investigating. Thank you for the report.
  4. #4
    Thanks for the report. Fixed in SVN

Similar Threads

  1. [CLOSED] GridPanel Multiheader Filtering is not editable
    By ppqrnd in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 11, 2012, 11:23 AM
  2. Replies: 2
    Last Post: May 11, 2012, 3:45 AM
  3. [1.0] Codebehind and GridFilters/Remote filtering
    By plykkegaard in forum 1.x Help
    Replies: 7
    Last Post: Oct 26, 2011, 10:01 AM
  4. Get filter string for Remote Filtering
    By peter.campbell in forum 1.x Help
    Replies: 2
    Last Post: Feb 15, 2011, 3:34 PM
  5. remote and local filtering
    By marcmvc in forum 1.x Help
    Replies: 0
    Last Post: Oct 13, 2009, 12:38 PM

Posting Permissions