We have a list grid which is not databound.
We are passing the client only datasource and fields using setDataSource and setFields.
We are using setData to load the records.
Now consider a case where while creating the grid object, we want to add an empty record to it.
For that we are using addData(<empty record>, new DSCallback()< anonymous implementation>) method.
Doing this throws javascript exception "this.addAt is not a function"
We were not getting this problem before we upgraded to SmartGWT 2.5.
This issue is replicable on FF and IE where empty records needs to be added while creating the grid.
Can you please provide solution for this ?
We are passing the client only datasource and fields using setDataSource and setFields.
We are using setData to load the records.
Now consider a case where while creating the grid object, we want to add an empty record to it.
For that we are using addData(<empty record>, new DSCallback()< anonymous implementation>) method.
Doing this throws javascript exception "this.addAt is not a function"
We were not getting this problem before we upgraded to SmartGWT 2.5.
This issue is replicable on FF and IE where empty records needs to be added while creating the grid.
Can you please provide solution for this ?
Comment