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
2165
SET CELL VALUE AND CHECKBOX ISSUE
posted

How to set cell value when the user change checkbox in a grid? Say you have two columns, one is a checkbox and the other is a number, when the user uncheck the cell the other cell must be set to zero. All this have to be recorded in the transactionlog and GridEditMode.Row must be used. I've seen some (few) approaches in this forum but nothing really works. Any help would be very appreciated. Thanks.

Parents
No Data
Reply
  • 2355
    Verified Answer
    Offline posted

    Hi Luis,

    Thank you for posting in Infragistics forums! Currently we do not have functionality that can fulfill your requirements but we are working towards improving this. You can expect it in one of our future volume releases. For now I can propose you a workaround. The basic idea is to override the setValue function of the checkbox and change the value of the other editor when checking and unchecking happens. I prepared a sample page that demonstrates this approach.

    I hope this helps!

    Kind regards,

    Petko Zhekov

    Senior Software Engineer

    sample-checkbox-editor.zip
Children