Re: Filter row plugin
Steve thanks for pointing me in the right direction ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349517 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Filter row plugin
Hi Andrew, thought I had a solution to the flier grid issue although can not solve the problem. I am using ext designer to generate the code (class) to filter columns in the grid and have attempted to follow various examples, although having no luck so far. Is it possible for me to send you a snippet of my code? As always would appreciate any help on this matter. I am getting an error; grid.getColumnModel is not a function [Break On This Error] var cm = grid.getColumnModel(); the example I have been following is: https://github.com/nene/filter-row Thanks Tom ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349504 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Filter row plugin
Tom, One of the best things to look into is Firebug for FireFox or using Chrome for debugging, I prefer Firebug. What you can do is right before the error is place this line of code. console.log(grid); What this will do is confirm that the object is indeed the grid object, by using the console you can see all methods and variables that belong to the object for further debugging. In the meantime when I get a chance later, I will look into what your doing and see if I can see anything that might be causing this. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Tue, Jan 17, 2012 at 4:15 AM, Tom Small t...@re-base.net wrote: Hi Andrew, thought I had a solution to the flier grid issue although can not solve the problem. I am using ext designer to generate the code (class) to filter columns in the grid and have attempted to follow various examples, although having no luck so far. Is it possible for me to send you a snippet of my code? As always would appreciate any help on this matter. I am getting an error; grid.getColumnModel is not a function [Break On This Error] var cm = grid.getColumnModel(); the example I have been following is: https://github.com/nene/filter-row Thanks Tom ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349506 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Filter row plugin
Ok a quick look at the docs http://docs.sencha.com/ext-js/4-0/#!/api Shows that for extJS 4.0 you need to use grid.getSelectionModel() Try that and see how you go. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Tue, Jan 17, 2012 at 4:15 AM, Tom Small t...@re-base.net wrote: Hi Andrew, thought I had a solution to the flier grid issue although can not solve the problem. I am using ext designer to generate the code (class) to filter columns in the grid and have attempted to follow various examples, although having no luck so far. Is it possible for me to send you a snippet of my code? As always would appreciate any help on this matter. I am getting an error; grid.getColumnModel is not a function [Break On This Error] var cm = grid.getColumnModel(); the example I have been following is: https://github.com/nene/filter-row Thanks Tom ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349507 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Filter row plugin
Hi Andrew, thanks for the advice also I think the example code I am using is for ext3 and not 4, and I believe the columnModel approach was removed, maybe that is why I am getting issues. I will send a snippet of my code the your email address, if that is OK? In the meantime will try to work on the issue. Thanks Tom ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349508 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Filter row plugin
Thanks for the advice ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349509 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Filter row plugin
grid.selectionModel() is produces an error ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349514 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Filter row plugin
Tom, Your grid questions are really better served by going through the Sencha Ext JS documentation (http://docs.sencha.com/ext-js/4-0/#), the Sencha Ext JS Forums (http://www.sencha.com/forum/forumdisplay.php?81-Ext-Discussion), and maybe a book (see the link in the signature block). I'm not trying to put you off at all, but CF-Talk is for ColdFusion specific related discussions (for the most part), and you're really looking for more targeted answers than you should find here. Just a guess, but you're probably looking for this: http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.View-method-getSelectedRecords Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 1/16/2012 5:05 PM, Tom Small wrote: grid.selectionModel() is produces an error ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349515 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Filter row plugin
Ok a quick look at the docs http://docs.sencha.com/ext-js/4-0/#!/api Shows that for extJS 4.0 you need to use grid.getSelectionModel() Try that and see how you go. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Tue, Jan 17, 2012 at 9:05 AM, Tom Small t...@re-base.net wrote: grid.selectionModel() is produces an error ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349516 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Filter row plugin
Thanks Andrew I have found a solution on the forum ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349501 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Filter row plugin
Hi, I have built a grid via ext designer and want to know if there is a plugin that will enable that data in the grid to be filtered... Have attempted to follow various examples although they do not represent the code as a class. I would appreciate any help. Thanks Tom ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349499 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Filter row plugin
You may be better going to the forums and asking there at sencha.com its not that some of us can't help you, it is because that is where you will get the most help. Without seeing you code or seeing how you want or are trying to filter the data, whether it is by a button or textbox it makes it hard to help you. But aside from that you are best asking extJS questions over at the forums at sencha.com -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sun, Jan 15, 2012 at 4:19 AM, Tom Small t...@re-base.net wrote: Hi, I have built a grid via ext designer and want to know if there is a plugin that will enable that data in the grid to be filtered... Have attempted to follow various examples although they do not represent the code as a class. I would appreciate any help. Thanks Tom ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349500 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm