Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read query string in ExtJS 4?

I have an ExtJS application which is invoked with some query string parameters. I would like to know how to read those parameters and their values using ExtJS 4.

My ExtJS application URL will look like the following:

http://localhost:8080/myapp?candidate_id=101&candidate_id=102&candidate_id=103
like image 974
Shekhar Avatar asked Apr 04 '12 06:04

Shekhar


1 Answers

You can use Ext.Object.fromQueryString like this

Ext.Object.fromQueryString('candidate_id=101&candidate_id=102&candidate_id=103')

http://docs.sencha.com/ext-js/4-0/#!/api/Ext.Object-method-fromQueryString

like image 115
Özgür Kara Avatar answered Oct 31 '22 07:10

Özgür Kara