I am pretty new to sencha as well as JavaScript. So can you please help me with how to use Sencha ExtJS and extract information from cookies. I have set the state of a gridpanel in cookies and now I want to extract the value of columnOrder and other information from cookies.
Any code or reference will be really appreciated.
ExtJS stands for Extended JavaScript. It is a JavaScript framework and a product of Sencha, based on YUI (Yahoo User Interface). It is basically a desktop application development platform with modern UI.
Run Ext JS Web Application:Open command prompt in windows and navigate to the directory where you have your Ext JS application as shown below. Now, enter Sencha web –port xxxx start command as shown below. Use any unused port number.
ExtJS 4.0. 2a is open source under GPL v3.
First thing - if you haven't found these already, here is a link to the Ext docs:
http://docs.sencha.com/extjs
Second - here is a link to Ext.util.Cookies:
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.util.Cookies
Example of use:
// write cookie
var myCookie = Ext.util.Cookies.set('YourCookieName', 'YourValue');
// read cookie
Ext.util.Cookies.get('YourCookieName');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With