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

[Solved] Problem in applying Grid Style

1 Answer 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sony
Top achievements
Rank 1
Sony asked on 22 Apr 2008, 10:33 AM
hi,

I'm not able to remove the style for the Parent grid in Hierarchial structure. I have applied gridlines="none", but still it shows me the grid lines.

Could anyone please help me out.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 23 Apr 2008, 08:01 AM
Hi Sony,

If I understand you correctly, you want to have cell borders in the MasterTable and do not want any borders in the DetailTables. In this case, please add the following CSS rule to your web application:

.DetailTable_Skin  .GridHeader_Skin,
.DetailTable_Skin  .ResizeHeader_Skin,
.DetailTable_Skin  .GridRow_Skin  td,
.DetailTable_Skin  .GridAltRow_Skin  td
{
    border: 0;
}

If this does not help you, please provide more information about your scenario, or even better, open a support ticket and send us a sample working project.

By the way, there is a difference between GridLines and borders. If GridLines are enabled, the control renders a border="..." HTML attribute, which is obsolete and not standard-compliant. On the other hand, borders are defined by means of CSS.


Greetings,
Dimo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Sony
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or