Jqgrid hide row inside grid

How to hide a line inside my grid? (do not delete it).

+4
source share
2 answers

It is not supported directly. You can only use $("#"+rowid).hide() to hide the row with id = "rowid", but some small things in the grid may not be as pleasant as before. For example, you use rownumbers:true , the user will see that the line numbers are not sequential. Moreover, if you do not use height:'auto' , the table height will not be ideal. If necessary, you can fix all problems manually.

+8
source

Try the following:

 $("#row_with_row_id","#mygrid").css({display:"none"}); 

Found here: Trirand: hide the string until certain conditions

+1
source

Source: https://habr.com/ru/post/1340823/


All Articles