Making multiple columns part of a common header in grid, makes it to loose the filter on column

  1. #1

    Making multiple columns part of a common header in grid, makes it to loose the filter on column

    make multiple columns to be a part of one common column header

    <ext:Column ID="Column3" runat="server" Text="Schedule">
      <Columns>
        <ext:NumberColumn ID="Column1" .......>
         .......
        <Filter><ext:NumberFilter></ext:NumberFilter></Filter>
        </ext:NumberColumn >
        .........
        <ext:NumberColumn  ID="Column2" .......>
        
        <Filter><ext:NumberFilter></ext:NumberFilter></Filter>
        </ext:NumberColumn >
        ..........
        <ext:NumberColumn  ID="Column3" .......>
    
        <Filter><ext:NumberFilter></ext:NumberFilter></Filter>
        </ext:NumberColumn >
      </Columns>
    </ext:Column>
    Now "Schedule" contains the 3 numeric columns as a part of it in the grid panel.

    Even after adding the filter tags, the filter capability is lost if they are part of a common header/column ("Schedule").
    If i ungroup the three numeric columns, then the filter shows on the UI.

    Can we have a common header-column, and still be able to have filters on sub-columns ?
    Last edited by fabricio.murta; Mar 10, 2021 at 1:13 AM.
  2. #2
    Hello @TransBIRptSup!

    Can you provide a running test case so we can check up on that? I have just tested the feature based on our Grouped Headers example in Examples Explorer and it works fine.

    Please also wrap code blocks within [code][/code] tags as it greatly improves readability and also makes it easier to copy-paste the code.

    If in doubt how to make a test case, please review our guidelines on posting in the forums:

    - Tips for creating simplified code samples
    - More Information Required
    - Forum Guidelines

    Hope this helps!
  3. #3

    More details provided.....

    We can use "Grouped Headers example in Examples Explorer" as reference code.

    In this how would you add columns filters to "Price" and "Change" fields?
    I tried adding
     <Filter><ext:NumberFilter></ext:NumberFilter></Filter>
    within the Price column tags; but I don't see the filter showing on the UI.


    Attached is a sample picture from a different project for illustration purpose --

    Click image for larger version. 

Name:	Sample.png 
Views:	27 
Size:	9.8 KB 
ID:	25514

Similar Threads

  1. Replies: 12
    Last Post: Apr 26, 2016, 10:39 PM
  2. Replies: 4
    Last Post: Dec 01, 2015, 4:13 PM
  3. [CLOSED] Caching common part of UI
    By vijay.sahu in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 20, 2013, 12:50 PM
  4. [CLOSED] [1.0] Grid column header group - span multiple rows
    By Neil_Walters in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 14, 2011, 11:11 PM
  5. [CLOSED] Add filter button to grid column header
    By jchau in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 08, 2009, 10:10 AM

Tags for this Thread

Posting Permissions