Forum



20:13

30/07/2010

Hello,
When I create the column model, I assign identical value to label, caption and index. When I start typing values into filtering toolbar for a column that has a space in it like "Assigned To", I get an error that a ")" is missing. Stepping through the code I found that when compare is happening it tries to access the access the column name as a property thus causing the issue:
(String(rec.Assigned To).substr(0,1) == String("O"))
I tried removing the space from caption which prevented the error from happening but the grid was blanked out completely. I am not quite sure if I am doing something wrong of if this is a bug.
TIA,
Leon
Most Users Ever Online: 715
Currently Online:
58 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