jQWidgets Forums

This topic contains 5 replies, has 4 voices, and was last updated by  Peter Stoev 8 years, 11 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Getowid Posts
  • Getowid #83789

    Hi,
    The latest versions of jqxwidgets(4.1.0 & 4.1.1) having a issue in getting rowid value, Its getting the rowindex value instead of getting rowid
    For example:

    
    var x= $('#jqxGrid').jqxGrid('getrowid',0);
    alert(x);
    >> 0;
    

    The result of x will be bound index value and not the row id., is there a quick fix for this as this is stopping me from using the latest versions.
    please advise.

    Getowid #83803

    admin
    Keymaster

    Hi vasanthsp92,

    By default they match, unless the data source has ID and the id of the source object is set. We do not find any issue in jqxGrid and if this function did not work, none of our demos online would work.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Getowid #83804

    Hi Peter,

    thanks for the prompt response.,
    I rolled back to jqwidgets version 4.0.0 where, $(“#jqxGrid”).jqxGrid(‘getrowid’, 0) gives me the value of id which i set in the data-source. in the latest version it does not., i generally do something like:

    
    row_id = $("#jqxGrid").jqxGrid('getrowid', $("#jqxGrid").jqxGrid('getselectedrowindex'))
    $.ajax(
    url: "http://some.com/table/"+row_id
    method: 'POST'
    ..
    ..
    )
    

    the above code is working till 4.0.0

    Getowid #83805

    admin
    Keymaster

    Hi vasanthsp92,

    If we find an issue we will resolve it. At present, we cannot find such.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Getowid #84235

    JailhouseJoe
    Participant

    Hi

    I am also encountering same issue as vasanthsp92. The online demos work fine Peter as you point out. However they do not use a jqxAdaptor which has been primed via $.ajax. Mine (and perhaps OP) do and maybe these are the conditions under which the flaw will highlight itself. Ive also had to roll back to v4.0.0 until a fix can be determined.

    Getowid #84236

    Peter Stoev
    Keymaster

    Ok, thanks for feedback.

    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.