Thank you again for your help with my previous question, really helped me out with my project.
I have another question regarding the 'pre-selection' of rows in a table.
I have managed to implement what I believe to be the correct method as rows are pre-selected when the table is generated. However I don't know how to/ seem to be able to work out how to make sure the first row of the table is selected.
Below is the code I have to render my table, using the rowStyles as suggested by documentaion for pre-selection of rows.
However this seems to pre-select the second row.
as shown:
I'm sure this is another easy fix but again I haven't been able to find/ work out a solution based on the documentation. Any help with this would be greatly appreciated.
Thank you again for your help and for this great package!
Hi Thomas,
Thank you again for your help with my previous question, really helped me out with my project. I have another question regarding the 'pre-selection' of rows in a table. I have managed to implement what I believe to be the correct method as rows are pre-selected when the table is generated. However I don't know how to/ seem to be able to work out how to make sure the first row of the table is selected.
Below is the code I have to render my table, using the rowStyles as suggested by documentaion for pre-selection of rows.
d3tf(y, tableProps = tableProps, edit = FALSE, selectableRows = 'single', extensions = extensions, rowStyles = c(rep("", 1), rep("info", 1)));
However this seems to pre-select the second row. as shown:
I'm sure this is another easy fix but again I haven't been able to find/ work out a solution based on the documentation. Any help with this would be greatly appreciated.
Thank you again for your help and for this great package!