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

ComboBox is inheriting style from RadGrid using Bootstrap theme

1 Answer 129 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 11 Jun 2015, 02:00 PM

Hi,

 I've removed the column borders of RadGrids with this:

.RadGrid_Bootstrap .rgRow td, .RadGrid_Bootstrap .rgEditRow td, .RadGrid_Bootstrap .rgFooter td
{
    border-left-style: none !important;
}

This works fine with other themes, but using Bootstrap, the left of the RadComboBox disappears.  See image "RadCombo2.PNG"

I can tell it is inheriting the grid style because if I change the above css to this:

.RadGrid_Bootstrap .rgRow td, .RadGrid_Bootstrap .rgEditRow td, .RadGrid_Bootstrap .rgFooter td
{
    border-left-style: dotted !important;
}

 

 

 

Then it looks like image "RadCombo1.PNG"

How do I keep the grid column lines hidden, but keep the RadCombo full border??

 

Thanks!

1 Answer, 1 is accepted

Sort by
0
Magdalena
Telerik team
answered on 16 Jun 2015, 07:49 AM
Hello Sam,

We recommend you to specify the selector more definite. You can add ">" symbol to specify only these td elements, which are direct children of rgRow. So the selector will be as the following:
.RadGrid_Bootstrap .rgRow > td,
.RadGrid_Bootstrap .rgEditRow > td,
.RadGrid_Bootstrap .rgFooter > td {
    border-left-style: none !important;
}


Regards,
Magdalena
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ComboBox
Asked by
Sam
Top achievements
Rank 1
Answers by
Magdalena
Telerik team
Share this question
or