Results 1 to 6 of 6

Thread: Query grid grouping

  1. #1
    Sencha User
    Join Date
    Sep 2009
    Posts
    112
    Vote Rating
    0
      0  

    Default Query grid grouping

    Anyone have a clue how I can implement something like this?

    editor grouping.jpg

    Its basically a query builder that I took from MS Visual Studio 2008. I would need something similar in my application.

    I have an editor grid working and can generate queries but cant seem to implement the grouping in the first column. Basically you select two rows and click the "group" button and then that little group indicator appears. Its the indicator that I dont know how to implement

    Anyone has an idea how I can do this?

  2. #2
    Sencha User
    Join Date
    Sep 2009
    Posts
    112
    Vote Rating
    0
      0  

    Default

    nobody?

  3. #3
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    133
      0  

    Default

    You could use a GroupingView and specify different startGroup and endGroup templates to show the group indicator instead of the normal group header.

  4. #4
    Sencha User
    Join Date
    Sep 2009
    Posts
    112
    Vote Rating
    0
      0  

    Default

    that was my initial idea but didnt really get it to work. what do you mean by using different startGroup and endGroup templates? Do you have an example?

  5. #5
    Sencha User
    Join Date
    Sep 2009
    Posts
    112
    Vote Rating
    0
      0  

    Default

    Cant seem to find startGroup and endGroup in the GroupingView documentation...

  6. #6
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    133
      0  

    Default

    They are not yet documented. I also found a bug that you can't specify an endGroup (fixed in current SVN trunk).

    Because of this you will need to override doEndGroup instead of specifying an endGroup.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •