UI Builder Data Grid Component: Cell Readonly

Reece Poulsen
Tera Contributor

I've been working on a custom UI Builder Workspace where I need to create a spreadsheet for quick data editing. I really didn't want to have to build it as a custom component from scratch so I did some looking around other SN workspaces to see if something already existed. I noticed a component in the CWM workspace that looked like a grid with quick editing and it piqued my interest!

 

After some searching, I found the component in the sys_uib_toolbox_component table called Data Grid (sys_id 

7f8222ae7660164207b5c097c90bcf45) but it was flagged as an internal only component. Luckily, I was able to switch scopes and flip the internal flag to false, which allowed me to add it to a page in UI Builder!

 

Since then, I've figured out most of the component's API from other instances of it in SN workspaces. Its met 95% of my requirements, its an awesome component! However, there is one piece that I haven't been able to figure out yet (hence this post).

 

Does anyone know how to flag an individual cell in the grid as read-only?

 

From what I can see, you can pass an editable flag into the column objects and that works for the column but I have tried the same thing for both rows and cells and haven't had any luck.

 

I need to flag read-only on a cell by cell basis, column level read-only isn't specific enough for my use-case. I'm really hoping that this component has the capability to manage read-only at the cell/row level and not just at the column level.

 

If anyone has experience with component and is able to shed some light on this it would be greatly appreciated!

 

It doesn't look like there is any public documentation for it because it is "technically" an internal only component

0 REPLIES 0