Disable row selection in editable grid

Certified Lead Developer

Hi,

I have created an editable grid using entity backed record.Is there any way to disable the row if that particular row is being worked on by some other user i.e. if a user has already selected first row and another user opens that record view it should't allow him to select the first row.

Thanks,
Nitesh

  Discussion posts and replies are publicly visible

Parents
  • Hi Nitesh,
    Disabling a particular row in the gird level is not feasible however if your use case is something like on selection of a particular row from the record view, you kick off a process, then you can try the solution with the help of an extra column to hold whether the row is being worked upon as posted by my other friend no the above post.

    Or try another approach is to have optimistic locking on the CDT by adding @version jpa annotation if you simply dealing with Database updates.
    Thanks

Reply
  • Hi Nitesh,
    Disabling a particular row in the gird level is not feasible however if your use case is something like on selection of a particular row from the record view, you kick off a process, then you can try the solution with the help of an extra column to hold whether the row is being worked upon as posted by my other friend no the above post.

    Or try another approach is to have optimistic locking on the CDT by adding @version jpa annotation if you simply dealing with Database updates.
    Thanks

Children