hi,in add page, i hide a field that i display in list page (my field is dateCreation which is a timestamp autovalue). So when i add a record throught the single add page, the datecreation field is hidden and auto-fill by default value.but when i active the grid-add feature, the array-screen propose to fill the dateCreation field with date widget whereas it should hide !is it a bug or normal (so the listed fields SHOULD be the same than the added fields) ?Best regards
That is actually normal. Why? Because the fields setting that displayed in “Add Page” is difference with the ones that displayed in Grid-Add mode (List Page).You need to handle it by yourself either by using server event or client scripts under the “List Page” if you want to display in the List Page (not Grid-Add mode), but hide it in Grid-Add mode (still in List Page).
Of course, you may add this condition to check:if ($this->isGridAdd()) {
// your code to hide the fields goes below …
// …
}