jQWidgets Forums

jQuery UI Widgets Forums Grid Issue with GetRowData

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 7 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Issue with GetRowData #100896

    CXXXV
    Participant

    I have the following code:

    
    					{ text: '', align: 'center',  datafield: 'Edit', columntype: 'button', width: 65,
    					
    						cellsrenderer: function () {
    						 return "Edit";},
    
    						buttonclick: function (row) {
    						
    						editrow = row;			
    						var offset = $("#membergrid").offset();
    						$("#popupWindow").jqxWindow({ position: { x: parseInt(offset.left) + 60, y: parseInt(offset.top) + 60 } });
    						
    	                    var dataRecord = $("#membergrid").jqxGrid('getrowdata', editrow);	
    						member = dataRecord.MEMID;	
    						memname = dataRecord.MEMBERNAME;
    				 
    					 }

    About 50% of the time the value of ‘member’ is undefined. I have not been able to determine why. Any suggestions.

    Issue with GetRowData #100904

    Martin
    Participant

    Hello CXXXV,

    I’ve tried reproducing this but did not succeed having only the code you’ve sent.
    Can you, please, provide a larger example or some kind of a demo where the issue can be seen?
    Thank you!

    Best Regards,
    Martin

    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.