Hi Isomorphic,
please see this sample (v10.1p_2017-09-06) and do the following steps:
Here, or in cases where a field is created on ListGrid-display with setHidden(true) and setCanHide(true), you could display the error in a popup, because this error can and should be fixed by the user.
For fields the user can't display (because they are not in the field-list of setFields() or they are created as setHidden(true) and setCanHide(false)), it should of course stay the same.
I just had this with a wide ListGrid where I hide many columns by default for the initial display.
This is not important for me, but I think it would be a valuable addition for the framework. What do you think?
Best regards
Blama
PS: Also, it seems the sample has some issue or a stale description.
The code for countryDS shows field countryCode as required="true", but it is not in the sample's JS code and adds work anyway.
So it does not seem to be really required="true".
please see this sample (v10.1p_2017-09-06) and do the following steps:
- Hide field "Country" via the context menu
- Click "Edit new"
- Enter reasonable data
- Leave the row
Here, or in cases where a field is created on ListGrid-display with setHidden(true) and setCanHide(true), you could display the error in a popup, because this error can and should be fixed by the user.
For fields the user can't display (because they are not in the field-list of setFields() or they are created as setHidden(true) and setCanHide(false)), it should of course stay the same.
I just had this with a wide ListGrid where I hide many columns by default for the initial display.
This is not important for me, but I think it would be a valuable addition for the framework. What do you think?
Best regards
Blama
PS: Also, it seems the sample has some issue or a stale description.
The code for countryDS shows field countryCode as required="true", but it is not in the sample's JS code and adds work anyway.
So it does not seem to be really required="true".
Comment