Prevent others from editing once added a new row info in form grid

Confluence User - 30 Nov, 2023

I currently have a form grid which contains a subform of an another form. Right now when user click the plus button, it will add a new row, working as intended, but once added the new row, they cant edit the new row. is it possible to do that?


As you can see, the image below, other users can edit the form grid, which is not what i want, they are only allow to add new row of data and not edit existing data.



The current config for the form grid.

forms;userviews;formgrid

8


04 Dec, 2023
confluenceUser
confluenceUser

Hi, I do not see an option in the form grid configuration to do that. In this case, why not just have 2 separate grids? One to display the readonly rows, and another to add new rows.

06 Dec, 2023
confluenceUser
confluenceUser

could you show an example of doing so?

06 Dec, 2023
confluenceUser
confluenceUser

from my experience, is that in the data binder, if i didnt select the current selection for data binder, the previous info added by user will be removed by the system and only the latest one will show. This is how i make sure all the existing data are shown in the grid.

 

06 Dec, 2023
confluenceUser
confluenceUser

oh i forgot to mention, i have 2 form grid, 1 is to display as read only & 1 is to allow user to insert rows. As shown below.


07 Dec, 2023
confluenceUser
confluenceUser

@Anders

12 Dec, 2023
confluenceUser
confluenceUser

I would think that the 2nd grid would have to insert into a different table, then some post processing needs to be done to combine the rows.

Alternatively, perhaps an easier approach would be just to use a single grid, and add some custom JavaScript/CSS to just hide the edit/delete buttons from the existing rows.


13 Dec, 2023
confluenceUser
confluenceUser

do you know the element names for the edit/delete buttons? @Anders

13 Dec, 2023
confluenceUser
confluenceUser

regarding your first solution, how would i go about it?


RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print