There is a requirement to dynamically enable and disable an action button in the grid toolbar based on a column value in the grid. If there are multiple lines in the grid, the action button should be enabled for some lines and disabled for others.
How can I implement this?
Any detailed instructions, tips, or code snippets would be greatly appreciated. Thank you!
Solved
How to dynamically enable and disable action button in the grid toolbar based on a field value.
Best answer by aiwan
Hi
You could use a RowSelected handler for the header DAC and use a ResultSet<> for your child DAC.
You would need to use a foreach statement to make sure you iterate through the results of the query.
Aleks
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.