Results 1 to 2 of 2

Thread: how to get row and column index from template column tpl

  1. #1
    Sencha User SurenderBhyan1's Avatar
    Join Date
    Nov 2013
    Location
    INDIA
    Posts
    130
    Answers
    7

    Default how to get row and column index from template column tpl

    Hi,

    I am using a template column and its Tpl can be an input field or combo boxes.

    My requirement is to get the row and column index when I change the value of any input field or combobox. In other words I am going to update the store value on changing the text filed value.

    Note: I don't want to use grid editor plugin for this for some reason.

    Code:
    {  
      xtype: 'templatecolumn',
      text: 'Name',
      dataIndex: 'name',
      tpl: ['<input style= "width: 100%" value= {name}></input>']
    }
    Below is the fiddle link

    https://fiddle.sencha.com/#view/editor&fiddle/1vn1





    Any help will be appriciated
    ---A ship in the harbor is safe, but that is not what the ships are made for...

  2. #2
    Sencha User SurenderBhyan1's Avatar
    Join Date
    Nov 2013
    Location
    INDIA
    Posts
    130
    Answers
    7

    Default

    Any Suggestion
    ---A ship in the harbor is safe, but that is not what the ships are made for...

Similar Threads

  1. Replies: 3
    Last Post: 22 Apr 2015, 3:49 AM
  2. Replies: 4
    Last Post: 24 Feb 2015, 6:39 PM
  3. [OPEN] wrong/invalid index on hidden column during column move
    By rspaeth in forum Ext:Bugs
    Replies: 1
    Last Post: 25 Jun 2013, 1:45 PM
  4. How to change a column template on the rendered grid column?
    By mx_starter in forum Ext: Discussion
    Replies: 8
    Last Post: 18 Mar 2012, 1:58 AM
  5. column tree click column index
    By Christophe Gruau in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 4 Jun 2009, 3:42 AM

Tags for this Thread

Posting Permissions

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