Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
245
IgGrid GroupByArea - Change to a outter div
posted

Hi, 

 

Is it possible to change the groupby area panel of the grid to be outside of the grid control?

Something like this:

|                  Search bar                                    |

|    group_by_area  | some other options   |

|    another bar                                                 |

|    IGGrid                                                          |

 

Eheheh

 

Possible?

 

Best Regards,

 

Francisco Correia

Parents
No Data
Reply
  • 6279
    Verified Answer
    posted

    Hi Francisco,

    I'm afraid that the group-by area is a child to the grid's container DIV for a reason and that cannot be changed.

    However, there's a way to get what you're after.
    Since the igGrid always has an ID, you will always know the ID of the group-by area and then you can use the after() method to add your "another bar" below the group-by area like so: 

    $("#grid1_groupbyarea").after("<div>My custom toolbar</div>");


    I tested and grouping columns in the group-by area still works after the DIV was appended below it. 

    Let us know if you need help with anything else.

    Cheers!
    Borislav 

Children