Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
605
Changing ValueList vlaues in DropDown Changes based on a column value in Ultragrid
posted

Hello,

I have an ultragrid which has a few columns. One of the columns needs to be a drop down and the values in the drop down will depend on the value in a another column on the grid.

So for example I have the following columns in the ultragrid

Coulmn 1  |  Column 2 | Coulmn 3 | Column 4

Column 1 will be a drop down with vlaues  1,2,3,4

if Column 4 = "Incomplete"

*********************

Column 1 will be a drop down with vlaues 2,3,4

if Column 4 = "Complete"

How can I achieve this ?  

Currently I bind the Valuelist to the Coulmn 1  in the

[GridName]_InitializeLayout method.

Is there a good way to accomplish this ?

Thanks,
Ashwin