jQWidgets Forums

jQuery UI Widgets Forums Grid Event Names Camel Case

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Event Names Camel Case #51984

    mdols
    Participant

    I don’t know if I am doing something wrong, but I am using jQWidgets v3.2.1 (2014-Feb-05) with jQuery 2.1.0 and have to use camel-case event names with the jqxGrid. For example,
    $(‘#jqxGrid’).on(‘rowclick’, function(e) { alert(‘testing’); }); does not fire, but
    $(‘#jqxGrid’).on(‘rowClick’, function(e) { alert(‘testing’); }); does.

    Should all events be camel-cased or should they work all lower-cased as specified in the online documentation?

    Thank you,
    Mike

    Event Names Camel Case #52001

    Peter Stoev
    Keymaster

    Hi Mike,

    I suggest you to check your Grid’s initialization and especially whether you follow the Getting Started instructions. All events in jqxGrid are with lower-case and that’s obvious from the API Documentation and the API Documentation samples in jSFiddle.

    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.