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
Hello, I have a WebGrid with 4 colums:
STATUS | TRIGRAM| NAME | FIRM
Status is a WebCombo which contains: Intern or Extern.
When i select "Extern" in the dropdownlist it should show the following colums:
STATUS | TRIGRAM| NAME
and when i select "Intern"(this should be the default value) :
STATUS | NAME | FIRM
how can i do that ?
here is my code so far:
function WebCombo3_OnAfterItemSelected(controlId) { var WebCombo3 = ISGetObject("WebCombo3"); var grid = ISGetObject("WebGrid1"); var selectedStatus = WebCombo3.GetSelectedRow().cells[0].innerText if (selectedStatus == "Intern ") { alert("Intern is selected") } else if (selectedStatus =="Extern ") { alert("Extern is selected") } return true; }
Thanks in Advance for your help
Hi Eray,
For this problem, I've made you a sample. In my sample, I'm using WebCombo to select the data that will be appear on WebGrid. I attach the sample in here. Could you look at my sample and tell me if that sample have meet your requirement? Look forward to hear any feedback from you so I can help you further.
Regards,Bernard
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