Hi Isomorphic,
I am using 12.1-p20210219 smartGWT version.
My requirement is that picklist should take width according to its content. The width of picklist should adjust according to its content without having the horizontal scrollbar.
I have used the following properties:
final ListGrid pickListProps = new ListGrid();
pickListProps.setAlternateRecordStyles(true);
pickListProps.setAutoFitFieldWidths(true);
pickListProps.setAutoFitWidthApproach(AutoFitWidthApproach.BOTH);
setPickListProperties(pickListProps);
Its works perfect for small content , but when data is too large , the picklist does not exceeds its width beyond 400px.(I don’t want to hard code the picklist width)
My requirement is the width should autofit so that it does not truncate contents.
Attaching required screenshot as actual.png and desired.png
I am using 12.1-p20210219 smartGWT version.
My requirement is that picklist should take width according to its content. The width of picklist should adjust according to its content without having the horizontal scrollbar.
I have used the following properties:
final ListGrid pickListProps = new ListGrid();
pickListProps.setAlternateRecordStyles(true);
pickListProps.setAutoFitFieldWidths(true);
pickListProps.setAutoFitWidthApproach(AutoFitWidthApproach.BOTH);
setPickListProperties(pickListProps);
Its works perfect for small content , but when data is too large , the picklist does not exceeds its width beyond 400px.(I don’t want to hard code the picklist width)
My requirement is the width should autofit so that it does not truncate contents.
Attaching required screenshot as actual.png and desired.png
Comment