Search Type: Posts; User: vasanth.kvj

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Any idea about global variable scope changes???? All my global variables are now undefined. :( i.e. out of scope
  2. Yes slemmon, My views were inside controller's views array. I hope, its only to inform the controller to query only inside the particular view for event registration instead of all my views.

    Yes,...
  3. I'm trying to migrate my app from version 4.1 to 4.2 . Just replaced extjs library files and im getting issues like,


    404 - file not found (controllers that i added in app.js)
    Added below...
  4. Replies
    5
    Views
    517
    Can you please provide the Xtemplate which you tried in the above example?
  5. Replies
    5
    Views
    517
    Ext.onReady(function () {
    var myflag = false;

    var data = {
    "fields": [{
    "name": "Cricket",
    "favourite": true
    }, {
    "name":...
  6. &nbsp: creates a non-breaking space. The purpose of a non-breaking space is to provide a space, while not counting as a place to break a line. (Which normal spaces are.)

    Therefore, you cannot...
  7. do you want to include bean values in view port returned by server ?
  8. Hope this will help.


    Ext.onReady(function () {
    Ext.create('Ext.container.Container', {
    items: [{
    xtype: 'image',
    id: 'myimage',
    src:...
  9. Random number used since we cannot change or edit the url in jsFiddle.
    In your code, instead of random number, get the current url , split it (with #) and make its as tokens.

    I hope your...
  10. Its working , can you please check here http://jsfiddle.net/F8J75/ (used random number instead of url split)
  11. By Default your active Tab is 0.

    Whenever the page loads, before rendering your Tab panel, from the url you can get the tab which needs to be the active tab.




    var currentTab = 0,
    ...
  12. also using window.location.hash in IE might reload the page.

    In your case for each tab change page reloads.

    Instead we can use Ext.util.History

    (http:...
  13. assume your url is like < yourapp > /index.html#myTabs/1

    var currentTab = 0,
    myUrl = window.location.href.split('#');

    if (myUrl && myUrl[1] && myUrl[0] == 'myTabs') {
    currentTab =...
  14. It would be helpful to understand the requirement if we have sample code and expected behavior. Please post your code.
  15. Thats ok... What you did so far is correct.

    Now can you debug your code with firebug in two places..

    1. handler function of your button - success()
    2. Check init() of 'app3'

    In both...
  16. While defining any view (i.e Ext.define) with custom attributes, no need to pass any value but while creating the view you need to pass, which will override the default value..

    in your case...
  17. In your controller, after server validation - valid user or not

    function doLogin(){
    var name = Ext.get('username').getValue();
    var pass = Ext.get('pass').getValue();

    var...
  18. Next Page or Next View? Can you provide the sample code which you tried?
  19. Hi Sword, Thanks for your effort. Tried the link provided and still the messy html code exists.

    attached image.4189141892
  20. User before render /after render to your buttons and map animate functions to show some sliding/fading effects.

    http://docs.sencha.com/ext-js/4-0/#!/api/Ext.util.Animate



    startAnimate:...
  21. http://msdn.microsoft.com/en-in/library/ie/cc197053%28v=vs.85%29.aspx


    object.onerror = handler;
  22. Check this: http://docs.sencha.com/ext-js/4-1/#!/api/Ext.Class-cfg-config and http://docs.sencha.com/ext-js/4-1/#!/guide/class_system





    Ext.define('SmartPhone', {
    config: {
    ...
  23. I'm trying to group grid based on the column Name and am getting broken HTML.

    Tried with escape, HTML encode/decode but still the issue exists. Is there any utility method available to overcome...
  24. Sumith, Single store is fine but you have to create new models if you are going to get different response based on the condition . We can use the same model only if the response is going to be in...
  25. Replies
    1
    Views
    723
    Hi, You cannot fill the text field with JSON. You need to encode/ decode the object (your JSON) based on your need. You can use like
    Ext.onReady(function(){
    var myJSon, panel;

    ...
Results 1 to 25 of 36
Page 1 of 2 1 2