Space before the first dynamic column in grid after groupby

Hi,

I am binding the grid columns dynamically using datatable and assiging width like this

int clms = grdComRpt.TableDescriptor.Columns.Count;
int wdth = 100 / clms;
for (int i = 0; i < clms; i++)
{
if (i == 0)
{
int wd = wdth + (100 - (wdth * clms));
grdComRpt.TableDescriptor.Columns[i].Width = wd;
}
else
grdComRpt.TableDescriptor.Columns[i].Width = wdth;
}

and Columns are binding fine.

but when group by with any column , there is a lot space on the left side of the grid before the first column. Plz find the attached document.



spacebeforefirstcolumn_5a335bd2.rar

1 Reply

SN Sridhar N Syncfusion Team September 28, 2011 05:38 AM UTC

Hi Vidyadhar,

Thanks for your interest in Syncfusion products.

We are sorry for inconvenience caused. We are unable to reproduce the issue. We have prepared a simple sample and the same can be downloaded from the following link.

F101097-1668621889.zip

Could you please try the above sample and get back to us whether you are able to reproduce the issue? If not, could you please give more information or by reproducing the issue in the above sample so that we could sort out the issue and provide you with solution.The information provided would be of great help in resolving the issue.

Please let us know if any concerns.

Regards,
Sridhar N


Loader.
Up arrow icon