I need to hide the edit column in a list view control, I have using a view in the list to display the column in a listView contorl. The idea is to to hide the column based on condition on form load.
I have tried this NWF$("div[name='Edit']").hide();
but it only erase that text not the column.
Solved! Go to Solution.
The above code used to work on Nintex From 188.8.131.52 and now it is upgraded to 184.108.40.206 and the header is not showing at all. The listview header text is hidden but the header row is visible. I can see the sort arrow.
Actually I am hiding the first column, but if I hide second or other columns the heading appears. Below is the screen shot when I hide the first column.
Here is the first column DOM
Here is the listview DOM
hm, from your screenshots, selector up to: NWF$('.myLV table.ms-listviewtable') should still work (based on 'listview DOM'). unfortunately, but I do not see what's going on further down the tree...
form the 'first column DOM' screenshot I'm not able to identify where exactly this snippet is from - how deep within 'ms-listviewtable' it is.
and from very first screenshot of how does hidden column looks like, it looks like to me there is something (dropdown/filter??) what haven't used to be there before (or at least I haven't experienced it yet).
so it looks to me overall listview DOM has changed, but from screenshots provided I'm not able to identify the whole tree.