Forum
12:24
29/05/2009
Hello,
I am trying to use the tableToGrid method while having the colModel param in my options object. When I do this I do get the column widths and alignments I set but I lose all the cell data except for the id column (which is also my first column). If I remove the colModel from the options object I get all the cell data but the column widths and alignments are all set to defaults. Is using colModel supported when calling the tableToGrid method? If so what could cause this.. and if not is there another way I can change the column width and alignments after the grid is completed. I have search around but have not found a good example of what I am trying to do. I know there is the setColProp method but I can't figure out what the columns are named when not using the colNames and colModel params in the options object and the grid is created using tableToGrid.
Thanks,
Doug
Most Users Ever Online: 715
Currently Online:
47 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