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
15
Shared GridToolbar
posted
I have an application that contains several grids. I want to know if there is a solution to create a single sare toolbar

Something like this:

<igx-grid>
  <my-custom-toolbar></my-custom-toolbar>
</igx-grid>

Parents
No Data
Reply
  • 1560
    Offline posted

    Hello,

    I have been looking into your question and after an investigation, I could say that as it is mentioned in the Angular Grid Toolbar topic the toolbar should be enabled for Grid by inserting the igx-grid-toolbar component between the Grid tags since it is taken by the grid as ContentChildren.

    Having this in mind, you should define the igx-grid-toolbar and all required actions and features in it in each grid. In case you have some custom content rendered in it which is common for all grids you could define for example a template and add it to each toolbar.

    I have prepared a small sample that demonstrates this behavior and it could be found here. Please test it on your side and let me know if I may be of any further assistance. 

    Sincerely,

    Teodosia Hristodorova

    Associate Software Developer

Children
No Data