Not able to get MultiSelect example ported over by Loiane working
Not able to get MultiSelect example ported over by Loiane working
First I would like to say thank you so much for taking time to do this. Your examples for MVC were the first I was really able to understand when I was a newbie and now I feel much more confident using MVC within the framework, thank to your efforts. Your book is also very refreshing. I agree Jay Garcia's book, "ExtJS in Action" is a VERY good book for newbies. I am still looking forward to the new revised "EXT in Action" for version 4.
Anyway, I have been working on a project where I need a multi-select which has a checkbox in the list to the left of each entry in the list for the combo, that is retrieved from a DB call. I have found one that works, using a store with API and proxy, but the trouble I am having is I am not able to figure out how to get the entries that I "pick" in the list to send back to the server as a CSV list instead of as an array. I am passing back static values as well as items from the combobox that I will "pick" from the list to send back to the server and store in the database. I was hoping to get your multi-select to work, since you are also using a MySQL database for your source. Is there something I am missing? I also notice that you call a DB called blog, with cities and states listings and the SQL to create these tabels is not in your ZIP for the multi-select. Can you help me to get thsi working or help me to get the multi-select working to send CSV to the server instead of array?
Thanks again
Can you implement extjs4-mvc-json-crud-php-mysql to Sencha Project ?
This will be best example for most of the people here.
Thank you everyone!
Hi,
I am working on it. Also, I am writing a step-by-step to show how to implement it from scratch. It iwll be published on my Portuguese blog first, then I will translate it to English and post on my other blog.
First I would like to say thank you so much for taking time to do this. Your examples for MVC were the first I was really able to understand when I was a newbie and now I feel much more confident using MVC within the framework, thank to your efforts. Your book is also very refreshing. I agree Jay Garcia's book, "ExtJS in Action" is a VERY good book for newbies. I am still looking forward to the new revised "EXT in Action" for version 4.
Anyway, I have been working on a project where I need a multi-select which has a checkbox in the list to the left of each entry in the list for the combo, that is retrieved from a DB call. I have found one that works, using a store with API and proxy, but the trouble I am having is I am not able to figure out how to get the entries that I "pick" in the list to send back to the server as a CSV list instead of as an array. I am passing back static values as well as items from the combobox that I will "pick" from the list to send back to the server and store in the database. I was hoping to get your multi-select to work, since you are also using a MySQL database for your source. Is there something I am missing? I also notice that you call a DB called blog, with cities and states listings and the SQL to create these tabels is not in your ZIP for the multi-select. Can you help me to get thsi working or help me to get the multi-select working to send CSV to the server instead of array?
Thanks again
Should have tried bit harder.. I got it working. I guess i was missing the Ext.require + something else.. Anyway, posting for benefit of some other newbies.
I found it interesting, I am still reading, but it is not very useful for learning with no previous knowledge (I am new to Sencha ExtJS and I am using SenchaArchitect), but that is expected according to you.
I see there is a lot of examples of graphics,etc. Always simple stuff, but when things starts to be more complicated, realistic, etc. You cannot find good documentation and complete examples.
In your book, the most interesting part about Models, Associations and MVC architecture has a few pages. There is no information about authentication using the framework.
I think this would be nice for people that is trying to learn Ext JS 4 with no previous knowledge of Ext JS 3. Even for experienced users is useful.
As requested, following is the link to the code of my ExtJS 4 CRUD MVC sample application using Sencha Architect 2.
Hope it helps you.
Soon I will post a video on my blog also showing how to do it step by step: