Results 1 to 10 of 11

Thread: getValue() method of FilterConfig return wrong value for NumericFilter (double)

Threaded View

Previous Post Previous Post   Next Post Next Post
    Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.
  1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    89
    Vote Rating
    0
      0  

    Default getValue() method of FilterConfig return wrong value for NumericFilter (double)

    Hi,

    if i enter in grid header the value "1", i get the value "10.0" in the backend.

    In frontend i typ "1":
    Code:
    NumericFilter<ArticleData, Double> numericBundleFilter = new NumericFilter<ArticleData, Double>(articleDataProperties.bundle(), new DoublePropertyEditor());
            numericBundleFilter.setUpdateBuffer(2000);
            gridFilters.addFilter(numericBundleFilter);
    frontend_screen_shot.jpg

    In backend i get "10.0":
    Code:
    for (FilterConfig myFilterConfig: myFilterPagingLoadConfig.getFilters()){
       String safeTest = myFilterConfig.getValue(); // safeTest is "10.0" ???
    }
    If i enter "10,0" in filter, the backend get's "100.0" if ei read the filter value.

    What's my mistake?

    thank you for reading

    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •