Turn off the Select Boxes on every row of table
It seems like I used to be able to make it so a Table Component would not have any checkboxes to select each row if I set the Table to "read only" and did not have any mass or row actions. This was nice so I could display information without giving the impression that there was something the end user could do with the rows. I tried removing the checkboxes today and they were still showing. I also looked at a table I thought I used to have set to not show checkboxes and the checkboxes are showing now. Very easily could be user error, but wondered if you could verify. Is there a way to not show any selection checkboxes on the table rows? Thank you!
Tagged:
4
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
I am doing three steps.
1. Setting table to Read Only
2. Removing all Row and Mass Actions
3. Unchecking the Export button
You can use a Template with following HTML code
<input type="checkbox"/>
and check "Allowhtml checkbox" .
Thanks,
Raghavendra Reddy.D
But, here are some workaround ideas that will all probably not be very satisfactory.
1. Implement your column summaries in separate UI elements below the table (Maybe a template field). This probably means you need to add a separate model that does this sumarizing.
2. Add the following CSS code to your resources tab: This will turn off checkboxes on the page (but will not remove the checkbox column from the table).
I took Rob's CSS one step further and figured out how to hide the column. Find the id for your table and use this CSS.
Hide Checkbox Column in Table
--------------
#sk-3nNp7v-102 td:nth-of-type(1) {
display: none;
}
#sk-3nNp7v-102 th:nth-of-type(1) {
display: none;
}
It looks like Skuid has modified when they show the check box. It is hidden if your table is Read Only and has no Mass Actions and no Export button showing. You have a declarative way to do this. I checked this in Skuid 10 and 11.
Thanks,
Bill