Hello,
I've searched the docs and forum and haven't found a solution yet - so thought it was time to ask for direction and see if anybody had solved this scenario before.
We have a ListGrid that is editible. We want the users to edit/validate entire records (as in, not edit by cell). While editing a record, there is a field with some choices presented as a "select" - and based on what they choose for that field, another field in the record should either present a standard text input, or a select control with options.
So, essentially we're looking for the best way to dynamically change the edit type for a field for a record that is already being edited.
Looking at the method "getEditType" - that works for when editing the record starts, as we can look at the current value of the field that determines what editor should be presented, but where we're getting stuck is how to handle the change after editing has started and the field's editor has already been determined.
Does anyone have any thoughts on how best to change an editor type for a field after the record has entered edit mode and the edit fields have already been created?
Thanks!
Philip
I've searched the docs and forum and haven't found a solution yet - so thought it was time to ask for direction and see if anybody had solved this scenario before.
We have a ListGrid that is editible. We want the users to edit/validate entire records (as in, not edit by cell). While editing a record, there is a field with some choices presented as a "select" - and based on what they choose for that field, another field in the record should either present a standard text input, or a select control with options.
So, essentially we're looking for the best way to dynamically change the edit type for a field for a record that is already being edited.
Looking at the method "getEditType" - that works for when editing the record starts, as we can look at the current value of the field that determines what editor should be presented, but where we're getting stuck is how to handle the change after editing has started and the field's editor has already been determined.
Does anyone have any thoughts on how best to change an editor type for a field after the record has entered edit mode and the edit fields have already been created?
Thanks!
Philip
Comment