Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3166
Different width for individual card and borderStyle for individual row
posted

In card view, can I have different width for individual card and different borderStyle for individual row ?

 

  • 469350
    Offline posted

    BB said:
    can I have different width for individual card

    No, I do not beleive there is any way to do this. You can have variable-height cards, but not variable width.

    BB said:
    different borderStyle for individual row ?

    I'm not entirely sure what you mean by "row" here. A card is a row of data. So do you mean the whole card? Or a row (cell) within that card? Or are you including labels and cells within the card, so you want a border around both?

    In any of those cases, the answer is no - there's no built-in way to place a different border around a single cell, card, or combination of the two. This is generally true in the grid because most objects in the grid do not draw all four border sides. They draw one or two sides and relay on the adjacent objects borders to make everything look right. If every object drew all four borders sides, you would end up with double-thick borders everywhere.

    I'm sure you could probably achieve something like what you want by using a DrawFilter and drawing the border yourself, but there's not enough information here to recommend how you would go about doing that.