Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGridFieldType.BOOLEAN + DataSource doesn`t work

    Hi,

    I have a problem with a ListGridField in a ListGrid which is ListGridFieldType.BOOLEAN.
    The CheckBox, shown in this field, is always "true" (checked). Whether the Data from DB is true or false, the CheckBox always shows true.

    I`m getting Data from the Database and I´m working with a DataSource. In my DataSource I declared the Field for die ListGridField as "DataSourceBooleanField".
    The DTO`s value is a Boolean for this field, set to "true" or "false", depending on what it has to be.

    Here´s my code:

    ListGridField:
    Code:
     
    ListGridField lgfCheck = new ListGridFieldAF4J("dsCheck", "Check");
    lgfCheck.setType(ListGridFieldType.BOOLEAN);
    DataSource:
    Code:
    DataSourceBooleanField dsCheck = new DataSourceBooleanField("dsCheck");
    Can anyone help me pleas?

    Thx :-)
    -=anni=-

    #2
    Search a forum on this issue which has been fixed in the nightly builds.
    Br//Marije

    Comment

    Working...
    X