Question

I've got a normal Telerik hierarchical grid with a child detail table. However when the items get bound in the master table there is an extra row between each item. It has a cell with the class "rgExpandCol". I suppose this has to do with the expand icon? I have run out of ideas...

Has anyone out there experienced this before?

Thanks in advance

Was it helpful?

Solution

I found a similar post in Telerik Forums, trying to hide this Expand column.

Here is the trick, add the following CSS in your page:

 <style type="text/css"> 
        .rgExpandCol 
        { 
            display:none !important; 
        } 
 </style>  

If it doesn't work, try this in the PreRender event:

protected void RadGrid1_PreRender(object sender, EventArgs e) 
    { 
        RadGrid1.MasterTableView.ExpandCollapseColumn.Display = false; 
    } 

If those 2 don't work, there is an extra one a little bit more complicated in the Telerik post about the PreRenderEvent.

OTHER TIPS

This is an odd one - is there any client or server code you have which manipulates the items in the master table somehow? Debug your code and compare it with the rendered html to get more clues.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top