Friday, 15 January 2010

javascript - trNgGrid - show/hide column -


Hi,

I have a question I have trNgGrid v3.0.5 rc I want to use and there is too much data in my Jason.

I should show and hide the column after clicking a check box.

"Autodetected (field = empty or not set)" check box I can hide on the show's column, through which I can see 3 check boxes. I

Please let me know Tell me how I can apply it, because my angular knowledge is weak.

Many check boxes should be checked after the document is ready and the rest should be unchecked.

I do not know how I can get it

thanks

You can use the attribute of the field trNgGrid.

  & lt; Table tr-ng-grid = '' fields = 'show_fields' item = 'myItems' & gt; & Lt; / Table & gt; In the admin  

  $ scope.show_fields = ['column1', 'column2'];  


No comments:

Post a Comment