Page 1 of 1

Disable a suggest Control in a Grid

Posted: Sun Jul 25, 2021 5:31 am
by raphaeldev
Could someone help on how to disable and enable dynamically a suggest control in a grid?

Thank you very much.

Re: Disable a suggest Control in a Grid

Posted: Sun Jul 25, 2021 11:01 pm
by kirkwg
Hi,
Try the following:

$('#form\\[grid2\\]\\[1\\]\\[suggest_1\\]').attr("disabled", true); //disabled suggest control or any other control ^^

where
Replace grid2 with your grid id,
Replace row 1 with your row#, and
Replace suggest_1 with your suggest id

Re: Disable a suggest Control in a Grid

Posted: Sun Jul 25, 2021 11:21 pm
by raphaeldev
Thanks kirkwg, I will check and try as suggested