Forum

July 12th, 2025
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
How can I get iRow and iCol?
25/08/2010
00:02
Avatar
Harv
Member
Members
Forum Posts: 3
Member Since:
15/06/2010
sp_UserOfflineSmall Offline

There 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.

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information