Results 1 to 4 of 4

Thread: How can i set cell value?

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    68

    Default How can i set cell value?

    Hi all,

    I have to set some cells that i want to.

    However, i googled some codes related to this. Most of the code was using SelectionModel.

    But this is not what i want. This is used when the user choose the cell. In my case, i'm gonna set the cell value manually without choosing the cell.

    How could i do it?

  2. #2
    Sencha User poojagarg89's Avatar
    Join Date
    Sep 2011
    Location
    Ahmedabad,India
    Posts
    213

    Default

    Can you provide any screenshots for to understand what you xactly wants......?

  3. #3
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409

    Default

    Have a look at: record.set()
    http://docs.sencha.com/ext-js/3-4/#!...ord-method-set

    Scott

  4. #4
    Sencha User
    Join Date
    Jul 2012
    Posts
    68

    Default Got it! Thank you

    varEmployee=Ext.data.Record.create([{name:'firstname'},...]);// update the 2nd record in the store:var rec = myStore.getAt(1);// set the value (shows dirty flag):rec.set('firstname','Betty');This is what i wanted! thank you

Posting Permissions

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