Results 1 to 2 of 2

Thread: store load parameter and value in combo type

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Oct 2016

    Default store load parameter and value in combo type


    Can someone help me regarding this store load parameter issue, i wan to put current year to the parameter, but it always failed:

    in View file-----

    var CurrentDate = new Date().format('Y');
    params: {Current Year: $CurrentDate}


    I also want to set default value in combobox to current year, my current code:

    value: $CurrentDate,

    Can someone enlighten me?


  2. #2
    Sencha User
    Join Date
    Feb 2013


    This might just be a typo in posting your test code, but the following line seems likely to cause an error due to the param "Current Year":
    params: {Current Year: $CurrentDate}

Similar Threads

  1. Store load parameter
    By simon in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 19 Nov 2013, 4:28 AM
  2. Replies: 1
    Last Post: 27 Apr 2012, 4:15 AM
  3. Replies: 2
    Last Post: 29 Mar 2012, 12:02 PM
  4. Replies: 2
    Last Post: 27 May 2011, 7:46 AM
  5. [Re-Opened]I Need To Load A Combo With A Parameter ??
    By chalu in forum Ext GWT: Discussion
    Replies: 14
    Last Post: 22 Sep 2010, 5:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts