Reputation: 877
My requirement is something like as shown in the image. Every hierarchical grid contains the actual data and its header "Nancy" corresponds to the name of the client whose data is being shown. Main headers also show the same column name as shown in each hierarchical grid. I have so far accomplished this but the problem is that I am not able to remove the vertical gridlines only from the top main header. It is still coming as shown in figure below :
I want to remove the gridlines in the columns where client's name comes. If I use the following code, then it removes gridlines from the inner grids as well.
.k-grid td {border-width: 0;}
I want to hide the gridlines only in the header of each hierarchical grid where the client name appears ("Nancy")
On using the above style, it has started coming as :
It has removed gridlines from every grid which is not what I want.
Upvotes: 0
Views: 2370
Reputation: 4139
It is possible to remove the master row borders, as shown by HemantD, but is recommended to keep the cells' vertical border widths in the header and data area consistent, otherwise you may observe misalignment in Internet Explorer. The same applies for side cell paddings. That's why I would suggest changing the cell border color only:
.k-grid .k-master-row > td {
border-color: transparent;
}
You can even do that only for the left borders:
.k-grid .k-master-row > td {
border-left-color: transparent;
}
Upvotes: 1