Posted in: SPARK UI Toolkit Controls
Saroj PandaDecember 30, 2016 at 8:28 am #3392
Is there any option to enable tooltips for Table header. I still have to explore this, but raising the question if anyone can give quick help 🙂
SarojSPARK SupportDecember 30, 2016 at 2:33 pm #3397
Are you looking to provide a Tooltip on the column headers, or the Table label?
Stephen P.Saroj PandaJanuary 3, 2017 at 8:06 am #3421
We need Tooltip on Column headers?
SarojSPARK SupportJanuary 3, 2017 at 3:29 pm #3423
Unfortunately, the Table headers will not support the method of showing a tooltip. The controls within the table could be nested within a Tooltip control however. In this case, when the user hovers over each cell, the help message would be displayed.
Stephen P.Saroj PandaJanuary 9, 2017 at 8:07 am #3455
In one of our implementation the number of columns are more compared to the available table width. The data in the columns are mostly Yes/No or small texts. So we want to set the smaller widths for each column so that we can show all the columns without scroll.
But while Doing so is impacting the column header text are longer compared to the data in them. So wanted to fix the width of the columns to small and still want option to show the column header to user.
Have you came across any such implementations before. How would you suggest to achieve this.
SarojSPARK SupportJanuary 10, 2017 at 8:26 am #3464
There is no configuration option to specify the width of the table header separately from the width of the column in the table row. My recommendation is to use a abbreviated column header such as C1, and place an Output Text above or bellow the table to provide a definition of the abbreviated term.
Stephen P.Saroj PandaJanuary 24, 2017 at 2:45 am #3553
We’ll look at this suggestion. Meanwhile following is my observation.
I tried setting the width of one of the column to 50px as it contain only Y/N text but it’s header text is longer word like “Approved”. When I run the coach, the column is not rendered to 50px instead it increased the width to accomodate the header text :/ So even we set the less width for the column, it increase the width to the minimun required as per the header text.
Do you think this is the expected behavior, if so then the entire width calculation during design time will be waste or it will be more tedious (considering the additional header texts).
SarojSPARK SupportJanuary 25, 2017 at 10:31 am #3565
This is working as it was designed. The style is set to make overflow content visible. This way, if the designer chooses to input a control label that is larger than the specified width, the text will not be clipped. This is CSS that can be overridden with the important keyword if a custom application is needed. However, the best practice is to simply abbreviate the label to fall within the needed width.
You must be logged in to reply to this topic.