Forum
Topic RSS
00:02
15/06/2010
OfflineThere is a method used when doing cell editing called editCell that requires you to pass in iRow and iCol. How can I get iRow and iCol for the cell I want so that I can programatically call this method? It seems the only way to get these values is via an event firing on the grid, but what if I want to use my own button somewhere else to manipulate the grid?
For instance I want to select a cell or edit a cell based on a button press in some other part of the page.
My main problem is that I want to add a row to the grid, but I have cell editing enabled, so I can't select the new row with the setSelection method because then clicking on any other cell in the grid leaves the other row selected.
I enabled Cell Editing so that when a user clicks on a particular cell I can fire an event based on what they clicked using onSelectCell.
Most Users Ever Online: 994
Currently Online:
11 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66
Log In
Home