Forum

November 2nd, 2014
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_Related Related Topics sp_TopicIcon
Passing/accessing SQL ID data in grid fields
27/04/2010
00:33
Avatar
psychobyte
Member
Members
Forum Posts: 4
Member Since:
27/04/2010
sp_UserOfflineSmall Offline

Hi,

I have a grid that I would like to have rows double clicked to run a modal form(jquery ui)  that then pulls data from sql via ajax to

populate the form fields.  However, the data (being records id's in sql) needs to be hidden or set as id's of cells e.g <td sqlrecordid="23" >Field Value</td>. I need to be able to retrieve these id's ondoubleclick to query the database.   I'd like to hear people's suggestions on how to accomplish this.

getCell and getRowData only grab the cell data and can't access these "Hidden" id's.

Also, i've passed id's to cell data by passing them via XML(not proud of this) in this fashion e.g.

echo "echo "<cell><![CDATA[<span sqlrecordid='1'>". $row[note]."</span>]]></cell>";

Is there an easier way or way of adding these id's to the cell element instead?

Thanks,

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
17 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