1
0
-1

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.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      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.

      1. Di Sheng

        could you show an example of doing so?

      2. Di Sheng

        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.

         

      3. Di Sheng

        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.


      4. Anders

        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.


      5. Di Sheng

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

      6. Di Sheng

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


      CommentAdd your comment...