jQWidgets Forums

jQuery UI Widgets Forums Grid avg calculated incorrectly

This topic contains 5 replies, has 3 voices, and was last updated by  Peter Stoev 9 years, 3 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • avg calculated incorrectly #78494

    Alex
    Blocked

    Aggregate function avg calculated is not correctly! calc empty cell.

    and min sometimes, when first row have empty cell show 0.

    avg calculated incorrectly #78519

    ivailo
    Participant

    Hi Alex,

    This is correct behavior. When you calculate numbers, empty cells are equalized to 0.
    If you want to make average only with cells with values, you can filter empty cells and the result will be as you expected.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    avg calculated incorrectly #78520

    Alex
    Blocked

    Other functions ignore empty cells.
    0 is a real value and an empty value just empty it is not stored in the database.
    You made a big mistake that mixed 0 and empty value.
    I wait when you will fix it, otherwise the package is not worth nothing.

    avg calculated incorrectly #78522

    ivailo
    Participant

    Hi Alex,

    If you want another behavior you can create your own aggregate function.
    Here is a demo with custom aggregates.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    avg calculated incorrectly #78524

    Alex
    Blocked

    I want to bug would be fixed and not declared as the norm.
    I have not heard, this bug will be fixed?

    avg calculated incorrectly #78554

    Peter Stoev
    Keymaster

    Hi Alex,

    Due to the not polite and not professional behavior in our Forum, according to our Forum policy, your account is blocked from now.

    Regarding the current situation in this topic: The behavior is not a bug and we consider it to be correct behavior.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.