Announcement

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

    BUG bad filterEditor for ListGrid when only field has type = date

    Hi again,

    In 2010-06-17 nightly:

    Code:
    var lg = ListGrid.create({
      fields: [ {name: "myDate", type: "date"} ],
      showFilterEditor: true
    });
    ListGrid from a code above will have an empty rectangle in place of filterEditor. There is no input to filter by myDate - only "filter" button.

    Best regards,
    Janusz

    #2
    I copy/pasted your sample to one of the demos at SmartClient.com and it did not produce a problem. It might exist in the nightly build.

    However, if you try to show the filter editor programmatically by a button click, you will run into the same problem at the demo site too. The problem occurs when the first field in the grid is a date field.

    You can find more about this bug in the post below which has not been accepted by Isomorphic as a bug yet:

    http://forums.smartclient.com/showthread.php?t=11072

    Comment


      #3
      I think that it is caused by some bug in DateRangeItem.
      Demo uses 7.0rc3www5 and this version does not have DateRangeItem yet.

      Best regards,
      Janusz

      Comment


        #4
        My problem is a little bit different then yours.
        FilterEditor is not drawn correctly, but it does not cause any browser bugs (too much recursion etc.)

        Comment


          #5
          A fix has gone in for this today - please try your test again with the next nightly

          Comment

          Working...
          X