Home › Forums › Guriddo jqGrid JS › Help › formedit disable fields based on value of another field
I use form edit. I want to disable a field ('Date of Lab Confirmed Diagnosis')
Hi,
to hide and show column you can use a click event
to Hide a column you can use e.g. this
jQuery(“#button”).click( function() { jQuery(“#list”).jqGrid('navGrid','hideCol',”column”); });
to show a column you can use e.g. this
jQuery(“#button“).click( function() { jQuery(“#list”).jqGrid('navGrid','showCol',”column“); });
I hope it helps you.
Best Regards,
DJ
Hi DJ,
Thanks for your help. I've tried it but it doesn't work. I want to disable/enable
I've got a solution:
{name:'reportType',
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS