Hi Paul,
On 7/2/2014 18:27, Paul McNett wrote:
...
addColumn(), not AddColumn(). Shouldn't matter, as that results in
dColumn instances too.
If GetValue() is returning something that isn't a string, that would
cause those errors. Verify that our custom GetValue() is indeed being
run - maybe something in phoenix short-circuits it.
dGridDataTable.GetValue is called and it returns 'int' for column 2 and
'bool' for column 0.
value: Ed Leafe, row: 0, col:1, type:<type 'str'>
value: cornsilk, row: 0, col:3, type:<type 'str'>
value: True, row: 0, col:0, type:<type 'bool'>
value: 40, row: 0, col:2, type:<type 'int'>
If my debug is correct it gets this on line 349 in GetValue:
ret = self.grid.DataSet[row][field]
self.grid.DataSet[0]['age'] # column 2
40
self.grid.DataSet[0]['coder'] # column 0
False
Is this a problem with the DataSet or are you thinking of a different
GetValue or .... ?
Werner
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]