FlexGrid > Suppress highlighting the selected cell when using SelectionMode.Row

Posted by: cephas on 21 April 2020, 4:16 am EST

  • Posted 21 April 2020, 4:16 am EST - Updated 3 October 2022, 4:37 pm EST

    Hi there!

    I am currently evaluating Wijo FlexGrid to possible use in our project.

    I am using SelectionMode.Row in the FlexGrid, but it still shows the selected cell. In some of my grids in my project I want to display the selected cell the same as the other cells in the row (It shouldn’t use css-class wj-state-selected but wj-state-multi-selected).

    Is that somehow possible?

    Céphas

  • Posted 22 April 2020, 12:10 am EST

    Hi Céphas,

    Thank you for evaluating FlexGrid. We will love to hear your feedback on it.

    Regarding your requirement, simply change the background of the wj-state-selected class as the same of wj-state-multi-selected class using CSS:

    .wj-cell.wj-state-selected {
     	background: #80adbf !important;
    }
    

    https://stackblitz.com/edit/js-jkzlzx

    Regards,

    Ashwin

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels