Announcement

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

    ListGrid filterOnKeypress unusable in IE when autoFitFieldWidths set to true

    I'm using SmartClient_SC_SNAPSHOT-2011-05-03 & SmartClient_SC_SNAPSHOT-2011-03-25

    I've noticed that in IE7&8&9 (winXP,win7,), when I have a ListGrid that has both filterOnKeypress:true and autoFitFieldWidths:true, as you type in the filtereditor, when a filter is performed, IE ends up selecting the contents of the filtereditor textbox. The unfortunate effect of this is that as you type subsequent letters, you erase your previous letters, thereby rendering the filtering pretty useless.

    Other browsers Chrome, Safari, FF on OSX seem to be behaving as expected and not selecting the entire contents of the filter box.

    To re-create, just take the following example:

    http://www.smartclient.com/docs/8.0/a/system/reference/SmartClient_Explorer.html#liveFilter

    And add in to the ListGrid definition:

    Code:
    autoFitFieldWidths:true
    Then try typing into one of the filter boxes whilst using IE.

    #2
    Anyone?

    You can re-create the problem also using the new feature explorer:

    http://www.smartclient.com/?skin=Graphite&locale=en#liveFilter

    Make the same code change as stated above.

    Use IE7+ and click in the 'Country' filtereditor. Then rapidly type 'ber'.

    Then pause.

    After the ListGrid has done its filtering, the letters 'ber' will now be selected, so if you were to continue to type 'muda', it erases 'ber'. Depending on your search mode this can be very unhelpful.

    Comment


      #3
      Still a problem in SC8.1 Power Nightly 2011-08-22 :(

      Comment


        #4
        Now seems fixed in 2011-10-18.

        Thank you!

        Comment

        Working...
        X