Threaded View

    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
    85
    Vote Rating
    0
    Thomas Fischer is on a distinguished road

      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