Results 1 to 4 of 4

Thread: Problem with record.get('')

  1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    300
    Vote Rating
    2
      0  

    Default Problem with record.get('')

    Gurus!

    I can't seen to wrap my head around this little problem:

    Code:
      var cliRecord = Ext.data.Record.create([
        {name:'CLI_RECORDID'},        
        {name:'CLI_CLIENTCODE'},
      ]);  
      ...
      ...       
      var cliDataID = cliRecord.get('CLI_RECORDID');
    I am being told that cliRecord.get is not a function in FB. Any ideas? Thanks.

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Redwood City
    Posts
    30,760
    Vote Rating
    83
      0  

    Default

    So what does the extremely detailed description of the create method in the API docs tell you? What does it return?
    Longtime Sencha engineer. Now surplus to requirements apparently...

  3. #3
    Sencha User
    Join Date
    May 2009
    Posts
    300
    Vote Rating
    2
      0  

    Default

    Animal:

    I went back through the API documentation and was able to resolve the issue. Unfortunately, the API doc does not remind one of the need to slow down, absorb the material and quit banging my head against the keyboard. I think I have a "D" up my nose (or is it the 'J' key?)

    Anyway, thanks for your help ! Cheers!

  4. #4
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Redwood City
    Posts
    30,760
    Vote Rating
    83
      0  

    Default

    You have taken a vital step!

    SLow down and read first. The 3.0 API docs contain all* the info you'll ever need.

    * 99%
    Longtime Sencha engineer. Now surplus to requirements apparently...

Posting Permissions

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