Set value to a Hidden field.

3 replies. Last post: November 21, 2012 11:44 PM by Hans Kristian
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Kashif ButtMember
Hi

I have a Grid with 5 columns. The relevant columns are MEETINGPLACE and CONTACT_ID.
Column MEETINGPLACE is a Webcombo. If i click on the Webcombo, the Webcombo loads a table. In that Table i assigned a CONTACTPERSON to a PLACE. 

Now if i choose that Contactperson the webcombo puts the PLACE in MEETINGPLACE column and the ID of the CONTACTPERSON in the CONTACT_ID column. So far so good.
For that i added these two lines in a Javascript 

grid.GetSelectedObject().ToRowObject().GetCell('CONTACT_ID').SetValue(wcDivision.Value, true);
        grid.GetSelectedObject().ToRowObject().GetCell('CONTACT_ID')SetValue(wcDivision.Value);

 

The CONTACT_ID Column is visible. If it is Visible it all works fine. But if i set the column CONTACT_ID to visible=false javascript cant set a value to that column, because its hidden

Is there a workaround for that? Or do have someone an idea, how to fix that?


Thanks

All times are GMT -5. The time now is 3:56 AM.
Previous Next