Sigma Php Ajax framework, Ajax Components, GUI Builder
February 11, 2012, 06:19:54 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Conditional editor type  (Read 949 times)
adrianbj
Jr. Member
**
Posts: 8


View Profile
« on: September 07, 2009, 12:31:11 PM »

I am wondering if it is possible to change the editor type based on the value of a cell in the corresponding row of another field. For example if USA is selected from the country field, I want to have a the editor type for the state field set as "select" with a list of US states, but if any other country is entered in the country field, I want the state field editor type set to "text".

Any ideas on how best to implement this would be great.

Thanks,
Adrian
Logged
steven
Moderator
Hero Member
*****
Posts: 546



View Profile
« Reply #1 on: September 07, 2009, 10:06:45 PM »

Currently you can't do that. We are considering adding this feature in the next version
Logged

Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java
Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
Danielrve
Full Member
***
Posts: 32


View Profile
« Reply #2 on: September 09, 2009, 09:36:19 PM »

Hi steve!

In this ideas order... is possible to change the value to the select field??(List,combobox) when a value is input in another field from the same row? or simple add values in a array from the select field?

Thanks
Logged
humi
Hero Member
*****
Posts: 284


View Profile
« Reply #3 on: September 15, 2009, 10:35:58 AM »

Yes possible. But tricky. I have been away for a long time- I will post code later.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!