Hi, I am doing a development that involves an extension of a form. In that form, I have added a new field in the GRID. The problem is that I need to be able to edit that field manually from the form, but the grid has the value allow edit no, and I can't change it since it belongs to standard code. What could I do to be able to modify this field without having to modify the grid.
I think u followed my suggestion. Please don't forget to verify the answers that helped.
Thanks, Layan Jweihan Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
Hello again, yes, we have rethought the development and have concluded to do the following:
Grid Allow edit: true
Datasource allow edit: true
After this, we set all the fields to allow edit: false except the one we need to be true, so we keep the previous security and unblock the editing of the field we need.
this is the form I am extending. In this case, the Grid and the datasource named WHSShipmentTable has the allow edit set to no. The initial idea is to add this field in the GRID and make it editable, but this configuration prevents me from doing it.
Are you sure you really want to add a field where the whole datasource made as allow edit to no? Because you can't change the datasource level properties if it is made from standard.
But you can try from code in active method post next if you can make that field as allow edit yes.
Did try to add your field on the form that used to create/Edit the grid records? What is the Form name that you try to add a new field to it in order to help you?
Thanks,
Waed Ayyad
If this helped, please mark it as "Verified" for others facing the same issue
if the whole grid is allow edit false, then are you sure it's the correct place to add your field?
But in general:
You should be able to change the allowEdit property of the grid via extensions. So you can change the datasource grid allow edit property to"true", then mark each single field as allow edit false except for your new field.
or you can do it by code, i mean to mark the grid by code as allow edit true
then mark each single field as allowEdit false, except for your new field;
Thanks,
Layan Jweihan Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
Can you describe the business requirements? What exact form do you want to extend and on what table do you have your custom field? When you provide some more information the volunteers on the forum might be able to think along with you about a viable approach.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.