PDA

View Full Version : Using Ext.data.sqlDB for Grid store



MuratCorlu
22 Aug 2008, 6:45 AM
I'm trying to get data from AirDB to a GridPanel on an Ext-Air application. But I couldn't find any sample. I saw ext-air-db.js file in tasks example. But I couldn't use. Can you give me a simple sample that shows making a gridpanel that gets data from an AirDB (Sqllite)?

RobSmith
27 Aug 2008, 6:42 AM
I did it similar to the Tasks application in extending the Ext.data.store class. Objects of this class then can be used in grids. So I would suggest to have a closer look to the TaskStore.js in tasks application.

Rob

MuratCorlu
27 Aug 2008, 8:52 AM
Yes, I did it with looking closely to Tasks application. But I think, there must be more simple way from method of Tasks application. Maybe, if one of Ext developers can give a simple example of using Ext.data.sqlDB with GridPanel, we'll be happier...