We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Access data from hidden column client side on select

Thread ID:

Created:

Updated:

Platform:

Replies:

77324 Oct 24,2008 06:11 PM Nov 1,2008 10:21 AM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Todd Dill
Asked On October 24, 2008 06:11 PM

If you have hidden columns in the grouping grid, is there any way to retrieve the data in those columns in the client side record click handler? I use the following attribute:

ClientSideOnRecordClick="rcd_clicked(this)"

...however, in the rcd_clicked function, the hidden columns are missing from the ROW object. I was able to successfully get the hidden column data by hiding the rows in this manner:



...this works alright, except on a client callback or a postback of anysort, I guess since the columns are already hidden at that point, so for whatever reason, they don't render.

Anyway, I need the data from those hidden rows on client side select whether it is init, postback, or callback. Is there any way to get this?

Thanks so much for your help.



Rajarajeswari S [Syncfusion]
Replied On November 1, 2008 10:21 AM

Hi Todd,

Thanks for using Syncfusion products.

When a column is hidden we can get the hidden column values , by accessing the particular cell value from the cell collections.

document.getElementById('TextBox1').innerText = gridObj.Row.tableRow.cells[2].innerText;

Here cells[2] denotes the hidden column cell.

Please have a look at the attached sample which illustrates this.

Regards,
Raji



HiddenCol_c40d5272.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;