Threaded View

    You found a bug! We've classified it as EXTGWT-3121 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    52
    Vote Rating
    0
    Thomas Fischer is on a distinguished road

      0  

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

    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