My MySQL database has a field 'enabled' that is defined as an int (actually a tinyint) but is used as a boolean. I want to display this with a BooleanItem but don't see how to do the conversion.
Can BooleanItem front an integer field?
--- from ds.xml --------------
<field name="enabled" type="integer"/>
--- from client code --------
BooleanItem enabledFld = new BooleanItem("enabled");
(SmartGWT 2.5)
thanks!
chris
Can BooleanItem front an integer field?
--- from ds.xml --------------
<field name="enabled" type="integer"/>
--- from client code --------
BooleanItem enabledFld = new BooleanItem("enabled");
(SmartGWT 2.5)
thanks!
chris
Comment