Abaksoft Posted January 6, 2025 Posted January 6, 2025 @Sherzod On UnimSringGrid1 > ExtEvents > childtap function childtap(sender, location, eOpts) { ajaxRequest(sender, 'childtap', ["p1="+location.columnIndex], ["p2="+location.rowIndex]); } I can get columnIndex, but not rowIndex. What I am doing wrong ? Thx UnimStringGrid_Location.rowIndex.7z Quote
Sherzod Posted January 6, 2025 Posted January 6, 2025 Hello, 1 hour ago, Abaksoft said: rowIndex Can you try recordIndex instead of rowIndex? Quote
Sherzod Posted January 7, 2025 Posted January 7, 2025 10 hours ago, Abaksoft said: ajaxRequest(sender, 'childtap', ["p1="+location.columnIndex], ["p2="+location.rowIndex]) And the parameter passing is incorrect. Correct: 1. ajaxRequest(sender, 'childtap', ["p1="+location.columnIndex, "p2="+location.recordIndex]); 2. ajaxRequest(sender, 'childtap', {p1: location.columnIndex, p2: location.recordIndex}); 1 Quote
Abaksoft Posted January 7, 2025 Author Posted January 7, 2025 3 hours ago, Sherzod said: And the parameter passing is incorrect. Correct: 1. ajaxRequest(sender, 'childtap', ["p1="+location.columnIndex, "p2="+location.recordIndex]); 2. ajaxRequest(sender, 'childtap', {p1: location.columnIndex, p2: location.recordIndex}); Many thx Sherzod. Great, this works fine. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.