jquery - jQgrid toolbar searching - dynamically remove search box from any column -


i using jqgrid version 4.4.4 , right facing 1 problem related toolbar searching. mention in heading, want remove search box of toolbar search column "dynamically" during or after rendering grid. google didn't found relevant solution on problem. used selcolprop property

$('#<gridid>').jqgrid('setcolprop', 'lotno', {     search: false }); 

and mentioned in loadcomplete function due logical reason. if knows how this, kindly share valuable ideas.

updated: using free jqgrid version 4.9.2 , functionality not happening on it.

searching toolbar created once. includes searchable columns in searching toolbar. if need change search property dynamically have recreate searching toolbar after changing value of search property. need call destroyfiltertoolbar remove searching toolbar , call filtertoolbar once more time.

alternatively can consider hide searching field after setting search property false. corresponding code like

$("#gs_lotno").closest(".ui-search-table").hide(); 

the string gs_lotno id of input field of lotno column. , using $("#gs_lotno").closest(".ui-search-table") outer table contains optional searching menu , x button. can consider make content of field empty ($("#gs_lotno").val("")) before hiding sure current value in input field not used in filters.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -