SmartGWT 3.1 LGPL
All browsers
Hi guys,
I have a ListGrid with a 'required' field. I set the data via the ListGrid.setData(Record[]).
The records are constructed manually and do not contain values for the 'required' field.
If I don't edit any values and execute ListGrid.validateRow, no validators check that values are not specified for the 'required' field.
According to the documentation, it is the expected behavior, as the user did not actually changed anything and the initial data is assumed to be valid. However, in my case, the initial data is simple a 'template' that is supposed to be filled out and submitted.
Could you please advise how validation can be enforced for not edited cells as well or, maybe, there's another way of doing this?
Thank you.
All browsers
Hi guys,
I have a ListGrid with a 'required' field. I set the data via the ListGrid.setData(Record[]).
The records are constructed manually and do not contain values for the 'required' field.
If I don't edit any values and execute ListGrid.validateRow, no validators check that values are not specified for the 'required' field.
According to the documentation, it is the expected behavior, as the user did not actually changed anything and the initial data is assumed to be valid. However, in my case, the initial data is simple a 'template' that is supposed to be filled out and submitted.
Could you please advise how validation can be enforced for not edited cells as well or, maybe, there's another way of doing this?
Thank you.
Comment