Can I get a tutorial/example of rails and combo box; I am getting the following xml :-
17The firstThe second
I am not able to get
1one
two
three
how to add xmlcontent=“1” editable=“0” to the cell tag?
My code has the following in rails
xml.tag!(“rows”) do
@mycs.each do |user|
xml.tag!(“row”,{ “id” => user.id }) do
xml.tag!("cell", user.id)
xml.tag!("cell", user.name)
xml.tag!("cell", '<option value="1">The first</option><option value="2">The second</option>')
xml.tag!("cell", user.email)
xml.tag!("cell", user.phone)
xml.tag!("cell", user.nextcall)
xml.tag!("cell", user.dailycall)
xml.tag!("cell", user.monthlycall)
xml.tag!("cell", user.notes)
end
end
end
thanks
raj