You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team
I have js grid and three field Name, Age , MobileNo . So my question is i want to get a value of cell when we click on the cell
Example : if i click on name then in alert msg Name value should be print , if i click on age then age value should be print.
So basically its like cell click event
I have used rowClick but its not get solve my problem .i check in jsgrid tutorial and did not find any solution
Please help me in this topic
The text was updated successfully, but these errors were encountered:
rowClick: function(args) {
let x=args.event.target.cellIndex
let y=args.itemIndex
let cell=Object.values(args.item)[x??0]
console.log("rowClick cell["+x+","+y+"]=",cell)
},
Hi Team
I have js grid and three field Name, Age , MobileNo . So my question is i want to get a value of cell when we click on the cell
Example : if i click on name then in alert msg Name value should be print , if i click on age then age value should be print.
So basically its like cell click event
I have used rowClick but its not get solve my problem .i check in jsgrid tutorial and did not find any solution
Please help me in this topic
The text was updated successfully, but these errors were encountered: