Welcome Guest, Not a member yet? Register   Sign In
codeingiter 1.5.4 and EXTJS 2.0.1
#5

[eluser]dirkr[/eluser]
[quote author="arthurn" date="1203384094"]Hi,
this sounds really great and I am about to give it a try. Would you care to share a working controller and a view for testing purposes?
That would speed it up a lot.
Arthur[/quote]

You can just use basslords code from above. This includes everything you need. You end up in the view with your data in a data.store which can be used to fill a gridPanel.

Whether it directly works depends on your url routing settings.

If you use the posted code you might have to enable query strings in the configuration.
I used POST with a segment-based url and had to keep the index.php in the url:
Code:
ds = new Ext.data.Store({
    proxy: new Ext.data.HttpProxy({
      url: '<?php echo base_url()?>index.php/lists/getSomeList.html',
      method: 'post'
    }),


Messages In This Thread
codeingiter 1.5.4 and EXTJS 2.0.1 - by El Forum - 02-04-2008, 11:34 AM
codeingiter 1.5.4 and EXTJS 2.0.1 - by El Forum - 02-05-2008, 01:03 PM
codeingiter 1.5.4 and EXTJS 2.0.1 - by El Forum - 02-18-2008, 08:34 AM
codeingiter 1.5.4 and EXTJS 2.0.1 - by El Forum - 02-18-2008, 01:21 PM
codeingiter 1.5.4 and EXTJS 2.0.1 - by El Forum - 02-18-2008, 05:07 PM
codeingiter 1.5.4 and EXTJS 2.0.1 - by El Forum - 02-19-2008, 05:42 PM
codeingiter 1.5.4 and EXTJS 2.0.1 - by El Forum - 06-11-2008, 02:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB