Author Topic: Dynamic Toolbar append is not working in param query grid 3.4.0  (Read 1977 times)

bsolTeamBglr

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 41
    • View Profile
Hi,
I am trying to appending the toolbar dynamically, that is our requirement.

Please, check the code with this link http://jsfiddle.net/vnggzcxr/

Here i am calling the method callToolBar(), if i call this method grid is not displaying.
if i am not calling this callToolBar() method then grid is displaying, but our requirement is to append
the toolbar dynamically. In the method only i can decide what to append to toolbar.

Please, help me out.

Thank you in advance. 

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Dynamic Toolbar append is not working in param query grid 3.4.0
« Reply #1 on: August 07, 2017, 09:56:21 am »
In your jsfiddle, there is a syntax error and it has free version 2.x files of grid.

Please check this: http://jsfiddle.net/c7swp5p1/ to create toolbar after initialization of grid.

bsolTeamBglr

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Dynamic Toolbar append is not working in param query grid 3.4.0
« Reply #2 on: August 07, 2017, 11:35:09 am »
Thanks, its working fine..