Community
Participate
Working Groups
It could be interesting to add conditional style on the first column of Sirius tables. Today the conditional style can only be applied on the other columns or on rows.
Created attachment 283231 [details] TablesWithSpecificLineHeader.png
Created attachment 283232 [details] SimpleEcoreTable.zip
There is currently a workaround that can be used for this need. You can set to "-1" the width of the "line header" column (in the "Advanced" properties tab of the table description). As result, this column is hidden. You have just to add a new "feature column" to "replace" the "line header" column (with the name for example). As this column is a "standard" column, you benefit of all features (conditionnl style, ...). Limitation: The icon displayed in "line header" column is no longer displayed in the "feature column". If there are sub-lines, you have to set the width to something like "21" to have the "toggle" icon visible (to collapse or to expand lines). The "TablesWithSpecificLineHeader.png" shows a sample of what it is look like. The project used for this sample is available in "SimpleEcoreTable.zip".