on 05-12-2016 6:31 AM
Hi,
Is there any event for table cell. I meant, I have table fields (sunday, monday,tuesday...saturday and finally totals field). My requirement is when I enter some data (say 10 hours) in sunday cell and moved to monday cell , it should update totals field with 10 automatically. Subsequently when I enter 8 hours in monday field and moved to tuesday field, totals field should be updated with 20. Is there any code for that?
Thanks and Regards,
Teja.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just set the action on your dynamically created tableCellEditor-Element:
// Input1 is the element you use as tableCellEditor
IWDInputField input1 = view.createElement(IWDInputField.class, "tableInput1");
// Set your action. In your case your calculation action
input1.setOnChange(wdThis.wdGetCalculateSumAction());
Best Regards,
Tobias
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.