Hi is there a way to implement css in JTable through Servoy? I just read that Servoy allows style definitions to components such as form, label, and button.
erikd:
Hi is there a way to implement css in JTable through Servoy? I just read that Servoy allows style definitions to components such as form, label, and button.
Can you be a bit more specific? What are you trying to do? Are you talking about styling a tableview ?
Nope. JTable is a Java bean which can be used in a Servoy form. The JTable bean looks different with the other grids that we have. I’d like it to conform to the standard colours in our css file. Can this be done?
erikd:
Nope. JTable is a Java bean which can be used in a Servoy form. The JTable bean looks different with the other grids that we have. I’d like it to conform to the standard colours in our css file. Can this be done?
Usually this is achieved using a tableview form in (tabless) tabpanel or a portal component. JTable bean is a standard Java bean and there is limited support for it (so you cannot style it using css).
Standard Java components (JXxxxx) have no support for CSS. This is something Servoy explicitly adds to all the UI widgets it ships with.
Why use a JTable at all and not a Form in TableView or a Portal?
Paul