Forum


02:50

01/09/2008

I have read through several posts looking for an answer and I can't seem to find one. I have a grid where the select values in column one determine the select values that appear in column two. I can change the values when editing (I use inline editing) but I can't figure out how to properly *populate* each row with the different select values as the grid is rendered. For example, if the grid is:
Animal Type Name
Cow <select values would be Jersey, Gurnsey, etc >
Bird <select values would be Swallow, Robin, Eagle, Seagull, etc >
Dog <select values would be Retriever, Hound, Mutt, etc >
How do I get different select lists each row of the same column?
Again, I know how to dynamically populate column two when column one changes but how do I put *different* select lists into each row of the *same* column as the grid is rendered? Is there a row complete event that triggers as each row completes? Or, an alternative on how to properly populate the column with different select list?
Thanks,
Pete
03:30

01/09/2008

Ah! afterInsertRow was what I was looking for but I still have an issue. The event is triggered, it looks like the column is updated with the HTML for the select but when the grid is complete, the select values aren't appearing in the column and I think it is because the select value is "matched" to the cell contents when the select was initially created (empty).
Still sorting through this and could use a pointer or two to keep moving....
Pete
05:28

01/09/2008

Definitely not making progress here. I can get the column/cell contents to change to the new select values by binding a change event to the selector cell but I cannot figure out how to set those column/cell select values as the grid is populated. I tried setCell but the new HTML select values don't appear.
HELP!
Pete
Most Users Ever Online: 715
Currently Online:
98 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66