angularjs - How to assign an ng-class to a column of jqxgrid in a controller -


I've imported the necessary script for angular, bootstrap and jqwidgets. I want to hide a special column of jqgrid using the class hid-LG in the grid controller.

  $ scope.gridWidth = "100%"; $ Scope.column = [{text: 'Col1', dataField: 'val1', width: '30% '}, {text:' Col2 ', datafield:' val2 ', cell form:' C2 ', cells: 'Left', width: '30%', template: '& lt; Div data-ng-square = "hidden-LG" & gt; & Lt; / Div & gt; '}, {text:' Col3 ', dataField:' val3 ', cell format:' C2 ', relative:' left ', width: '40%'}]; After a long research on this,  

Regards,

I came to know that it can be sorted out like this $ scope.column = [{text: 'Col1', dataField: 'val1', width: '30% '}, {text:' Col2 ' DataField: 'val2', cell format: 'c2', satellite: 'left', width: '30% ', cell classname: "hidden-x", classname: "hidden -x" ", {text:' Col3 ',',,, 'Cell-name': 'hidden -x', 'data3', 'cell3', 'cell3', 'cell3', cell format: 'c2', ' , Classname: "hidden-x" is a special device Hides special columns in the lens.

However, now I have another problem ... I see white empty space after hiding the middle column ... I have a space between columns 1 and 3 .

Please suggest help ...


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -