Row based validation with DataTablesEditable
Row based validation with DataTablesEditable
Hi Folks
Is there an easy way to do row based validation ? I'd like to sum the values in a row and alert if they exceed a set threshold. I've been trying to implement it using fnOnEditing() but I think I'm being hampered by my lack of understanding. I tried using fnGetData() on the id passed into the callback but this seems to get the original data from the row, not the edited data? Is that correct?
Any suggestions would be gratefully recieved at this point!
Cheers
Paul
Is there an easy way to do row based validation ? I'd like to sum the values in a row and alert if they exceed a set threshold. I've been trying to implement it using fnOnEditing() but I think I'm being hampered by my lack of understanding. I tried using fnGetData() on the id passed into the callback but this seems to get the original data from the row, not the edited data? Is that correct?
Any suggestions would be gratefully recieved at this point!
Cheers
Paul
This discussion has been closed.
Replies