I thought my scenario was pretty simple, and should be fairly easy to achieve, but it's turning out to be a bit more complex :(
I have a list of invoices in a grid. Invoices have a capital amount and a fee amount.
The user can select if the client wants to settle(pay) the capital amount, the fee amount, or both.
When the user checks the capital and/or fee amount the settlement amount field is populated accordingly. All information required is in the underlying model data row.
However, after much searching on this forum, it seems that I have to use client templates for the checkbox columns. Then when I tried that, I see they're all checked by default, the 'check binding' doesn't appear to work, and not sure exactly what events are fired and when. I can check the checkboxes before I enable inline editing, and when i do enable inline editing, the check box ticking doesn't fire any row changed events but if I click on the open space next to it, the field goes into edit mode then only.
It just feels messy.
I've searched the forums and it seems that there is no clean way to do this: https://www.telerik.com/forums/how-to-have-more-than-one-checkbox-column
I think with another few hours of messing around I can probably get this to work. But my question is:
What is the RECOMMENDED way to get this done?
I need additional checkbox columns. I need an event fired on changed or checked to update another field in the same row.
I will handle posting to the server later on via a button as i need to capture payment dates and references and stuff.
This is how far i got right now, checkboxes are ticked by default even though the model says false for those checkbox fields and the event is not firing at the right time, only at read which is wrong: