Hello,
If I have 2 rows, each one of them contains id,name,sex
name = text input
sex = select menu (male, female)
the rows:
1, Jet Li, male
2, Nicole Kidman, female
now if I click on edit the second row it will show the editable inputs with the default option of the select menu which is male, while it is not, it is female “Nicole Kidman”… how can I make it read the selected option to view it in the edit page?
my code
{name:'Sex',index:'Sex', width:70, editable: true,edittype:”select”,editoptions:{value:”1:male;2:female”},
is there anyway to change the previous bold text to let it read the selected option and make it as default then show the other options?
or at least make it select (in the edit page) the selected option (which was in the view page)?
thanks a lot 🙂
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top