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

Less space is allocated to GridField if DataSource Field is DataSourceDateTimeField

$
0
0
Hi,
We are using Smart Gwt-4.1p(23rd May 2014)
Browser : IE10, 11, Google Chrome:37.0.2062.124 m

Scenario :

Created two Listgrids with three ListgridFields each. In both the ListGrids we are displaying Date. But for the FirstGrid we are using DataSourceDateTimeField as DSField for displaying Date and for the SecondGrid we are using DataSourceTextField as DSField for displaying Date.

Issue :

The default width of ListGridField is differed based on the type of DataSourceField.

Anyway we can set setwidth() property, but without this smartgwtframework has to support this by providing equal width.

Expected Result : Whether DataSourceField is DataSourceDateTimeField or DataSourceTextField the default width of ListgridField should be similar.

please find the attached screen shot and sample code to reproduce this issue.

Thanks in advance.

Attached Images
File Type: png DataSourceDateTimeField_vs_DataSourceTextField.png (18.3 KB)
Attached Files
File Type: java TestsmartGwtProject.java (1.9 KB)
File Type: java EmployeeXmlDS.java (1.4 KB)
File Type: xml employees.data.xml (509 Bytes)

Viewing all articles
Browse latest Browse all 4756

Trending Articles