iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
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
I’d like to offer a solution for your scenario.
I suggest you to use SetAdditionalFilters() client side method to filter the data showed by WebCombo based on the value of “Column1”.
I enclosed a simple page as attachment based on your scenario. In the attached sample, “ProductName” column uses WebCombo as its edit type. The list of products showed in the WebCombo is filtered based on another column, CategoryID column. For more detail, please check the attached sample.
Hope this helps.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname