I am getting the Kindo RAZR grid in which I have a toolbar in which to create a button. I have 2 different Kendo grids in the same page. I just want to hide one of the grid toolbars How can I do this?
We can hide the toolbar using the following code. Since it points to the square, the toolbar will be hidden on both the grids. I just want one to hide them, how can I do this?
$ (".k-grid-toolbar"). Hide ();
Try adding unique ID attribute for each toolbar
< P> As the first grid toolbar's ID in the form of myid1
, the second grid's toolbar's ID as myid2 . Let's hide the free grid toolbar, something like this, $ (".k-grid-toolbar # myid1"). Hide ();
No comments:
Post a Comment