jQWidgets Forums

jQuery UI Widgets Forums Grid upper and lower case mixture in API between widgets

This topic contains 1 reply, has 2 voices, and was last updated by  admin 8 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • badera
    Participant

    I really wonder, why there is such a mess between the APIs of the different widgets regarding mixed case names and lower case names.
    E.g. if we compare jqxGrid and jqxTreeGrid: in jqxGrid, every property, method, function is written lower case; in jqxTreeGrid ‘CamelCase’ is used. So even though these two widgets are very similar and could share some code bases (e.g. to create the base of the settings-objects), it is not possible due to this.
    If we look deeper, we miss the “central theme”: E.g. the b of statusbar is sometime written upper case (e.g. property statusBarHeight), sometimes lower case (e.g. property showStatusbar); sometimes, it is even wrong in the doc: if we use renderStatusbar as written in the doc, we get the error that this propery is missing; if we use renderStatusBar, it is OK.

    I like jqWidgets very much; but this point is a bad story…
    Any plans to clean that up?

    Best regards,
    – badera


    admin
    Keymaster

    Hi Badera,

    It’s not possible to share settings object because these widgets are very different in terms of API and features. Yes, they have some similarities which are on purpose of course – like lower learning curve. However, the GRID API will remain unchanged as we do not want breaking changes for our clients. For new products, things will be different.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.