Announcement

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

    checkbox selection issue

    Hi,

    We are using Smart Gwt-4.1p (1st Jan 2015)
    Browser: IE10, 11, Google Chrome:37.0.2062.124 m
    Please refer attached files:
    1. ListGridSampleApp.java and CountrySampleData.java.
    2. CheckBox_issue.png.
    Issue: As per requirement we try to display by default all check box selected.
    But when we are loading our application apart from top checkbox all are appear checked.
    For try to resolve this issue we iterate the records through for loop and selecting the record
    one by one “countryGrid.selectRecord(i) “or either provided “selectAllRecords()” but still it’s not working.
    Expected Result:
    By default check box should be in selected state in ListGrid
    Actual Result:
    Check box is not selected in ListGrid

    Please let us know, how we can resolve this issue.

    Thanks,
    Attached Files

    #2
    We've made a change to address this issue - you can test it in builds dated February 3 and later.

    As an aside - the recordComponent code in this sample is, again, very inefficient - one thing we neglected to note in our reply to your other recent thread is that you can avoid createRecordComponent() being called for fields that don't need recordComponents by overriding showRecordComponent() to return false for those fields.

    Comment

    Working...
    X