This is a migrated thread and some comments may be shown as answers.

Do not use selected format when GridClientSelectColumn checked

1 Answer 41 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Steve LaForge
Top achievements
Rank 1
Steve LaForge asked on 26 Jul 2010, 11:20 PM
I am trying to use a grid as part of a user control to get user input.  I have a GridClientSelectColumn.  What I would like to accomplish is to continue to use the standard row/alternating row formatting when the row is selected, so that the only difference that the user sees is the checkbox is either checked or not.

Any suggestions?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Diego
Top achievements
Rank 1
answered on 01 Aug 2010, 05:06 PM
Try to override the default sort style.
<style type="text/css">
    .rgMasterTable .rgRow.rgSelectedRow td
    {
        border-bottom: 1px #fff;
        background: transparent none;
        color: black;
    }
    .rgMasterTable .rgAltRow.rgSelectedRow td
    {
        border-bottom: 1px #f2f2f2;
        background: #f2f2f2 none;
        color: black;
    }
</style>

This will work for the default skin - you have to modify it according to the skin you use

Cheers
Tags
Grid
Asked by
Steve LaForge
Top achievements
Rank 1
Answers by
Diego
Top achievements
Rank 1
Share this question
or