Question setting cell value that evaluates another column for the data

1 reply. Last post: January 11, 2010 11:54 PM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
T LusbyMember

I have a webcombo that needs to build dynamically based on a value of another column. 

WebGrid1_InitializeLayout -> I use a ValueList to display the description.  (ie.:Displays Chicken instead of 1.)

WebGrid1_InitializeRow --> I want to evaluate one column that will determine what values should be displayed in the webcombo of another column.  In this column, I need to dynamically create the webcombo.  I don't see how to set the valuelist for this cell.

Example scenario below:

Column1   --> Can have a value of the following:  (Meat, Fruit, Veggies) 

Column2  --> Has a list of meats or fruits or Veggies

 

If Column1 = Meats

Column2 = Chicken Fish Beef <-- in the webcombo

 

If Column1 = Fruit

Column2 = Strawberries Pineapples Apples

 

if Column1 = Veggies

Column2 = Green Breans, Corn, Potatoes

 

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