Be sure your post includes:
1.SmartClient Version: v10.0p_2014-10-26/LGPL Development Only (built 2014-10-26)
2. FF 24.8.0 on Gentoo linux
3.
4.
5.
6. sample code if applicable
This problem has been also mentioned in this unanswered post.
Thanks,
MichalG
1.SmartClient Version: v10.0p_2014-10-26/LGPL Development Only (built 2014-10-26)
2. FF 24.8.0 on Gentoo linux
3.
4.
5.
6. sample code if applicable
Code:
package pl.com.tech4.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.DOM; import com.smartgwt.client.data.DataSource; import com.smartgwt.client.data.DataSourceField; import com.smartgwt.client.data.fields.DataSourceTextField; import com.smartgwt.client.util.SC; import com.smartgwt.client.widgets.grid.ListGrid; import com.smartgwt.client.widgets.grid.ListGridField; public class MainEntryPoint implements EntryPoint { public void onModuleLoad() { DOM.getElementById("loadingPicture").removeFromParent(); layout(); SC.showConsole(); } private void layout() { final DataSource ds = new DataSource(); DataSourceField fieldId = new DataSourceField(); fieldId.setName("id"); fieldId.setPrimaryKey(true); fieldId.setHidden(true); DataSourceTextField fieldCode = new DataSourceTextField(); fieldCode.setName("code"); DataSourceTextField fieldDescription = new DataSourceTextField(); fieldDescription.setName("description"); ds.setFields(fieldId, fieldCode, fieldDescription); ListGrid lg = new ListGrid(); ListGridField lgfDescription = new ListGridField("description"); lgfDescription.setCanHilite(false); lg.setFields(lgfDescription); lg.setDataSource(ds); lg.editHilites(); lg.draw(); } }
Thanks,
MichalG
Comment