cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Alternatives to hide/exclude first “Total” row from selection in ptcs-grid

SG_14220535
4-Participant

Alternatives to hide/exclude first “Total” row from selection in ptcs-grid

I am using ptcs-grid with multi-row selection enabled.
The first row in my grid is a “Total” (summary) row, added through a service.

I do not want this row to be selectable, and it should also be excluded when “Select All” is used.

Since CSS solutions only hide the checkbox visually (and do not affect selection logic), I would like to know:

What are the supported alternatives or best practices to handle this scenario?

 

how the Data is looking on grid i am here attaching the screenshot.

from this screenshot i want to Hide the Checkbox for the 1st row whose department="Total"

1 REPLY 1
DanWolf
14-Alexandrite
(To:SG_14220535)

Depending on your ThingWorx version, you can use the Grid property "AllowDisabledNodes".  Check the box then choose a value for "DisabledStateField".  This field is a string.  Any rows with that string value set to "disabled" will disable the row.  I created a quick test and here's a screenshot showing the result when I use Select All.  I cannot select the row and Select All does not select the row.

DanWolf_0-1765819802785.png

I'm using ThingWorx 9.7.

 

 

Announcements


Top Tags