Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Listgrid columns not adjusting to column name and column data

$
0
0
Hello there,

I am using SmartClient Version: v10.0p_2015-05-08/PowerEdition Deployment (built 2015-05-08) with FF 26.

I am trying to display all the column name and column data elegantly in the listgrid when the data is fetched the first time. But for some reason the column called Batch is taking a lot of space for its header and the last column which is a IButton is not in its own column cell. I have attached a screenshot of the listgrid. Below is my code

Code:


boundList.setHeight(420);
boundList.setWidth100();
boundList.setCanEdit(false);
boundList.setAutoFitWidthApproach(AutoFitWidthApproach.BOTH);
boundList.setAutoFitData(Autofit.BOTH);
boundList.setAutoFitFieldWidths(true);
boundList.setAutoFetchData(true);
boundList.setDataSource(ds);

addMember(boundList);


Attached Images
File Type: png sgwt4.png (16.9 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles