Aspose webgrid scroll bar and cell issue

Hi Aspose,

Please refer attached picture for better understanding of the issue.

I want to align the checkbox inside the gridweb’s cell to center, I am trying the below code but not working
public void FormatAsposeGrid(WebWorksheet sheet)
{
try
{
for (int m = 0; m < sheet.BindColumns.Count; m++)
{
for (int n = 0; n < this.TotalRecordCount; n++)
{
WebCell cell = sheet.Cells[0, n];
Aspose.Cells.GridWeb.TableItemStyle style = cell.GetStyle();
style.HorizontalAlign = HorizontalAlign.Center;
style.Wrap = false;
cell.SetStyle(style);
}
}
}

and also I followed the your article Format Cells|Documentation
but it is giving error like cell.Style.HorizontalAlign ” is obsolete.
//Setting the horizontal alignment of font to Center

cell.Style.HorizontalAlign = HorizontalAlign.Center;



One more issue is I want to make the gridweb’s default horizontal scroll bar width to 100%, Please help me to fix these issues in my aspose grid web.


Thanks,
Mahesh

Hi,

Thanks for your question and using Aspose.Cells for GridWeb.

Please download and use the latest version:
Aspose.Cells
for GridWeb v2.7.7.2004

and see if it resolves your problem.

Please provide us your sample runnable project showing your problems with the latest version.

We will check your issue and log it if we found the issue.