Results 1 to 3 of 3

Thread: Grid, XTemplate and get ID ?

  1. #1
    Sencha Premium Member
    Join Date
    Oct 2013
    Posts
    24

    Default Grid, XTemplate and get ID ?

    Hi All,

    My problem is simple, I've a Grid with a XTemplate.
    In this XTemplate I have a <span id="idcpcinf">....</span>

    I use a MVC.

    How can I get the element idcpcinf ?
    I use Ext.get('idcpcinf');

    in grid event:
    - afterrender
    - render
    - viewready
    - boxready

    always Ext.get('idcpcinf'); returns null !

    Can you help me to solve this problem ?

    Thx a lot !

  2. #2
    Sencha User Jad's Avatar
    Join Date
    Feb 2012
    Location
    annecy france / geneve suisse
    Posts
    149

    Default

    hi

    your id is unique ?

  3. #3
    Sencha Premium Member
    Join Date
    Oct 2013
    Posts
    24

    Default

    oh no sorry, yes it was the problem ! this message is solved. I close it.

    sorry...

Similar Threads

  1. Replies: 1
    Last Post: 15 Sep 2013, 10:55 PM
  2. Using XTemplate with Grid
    By xybrek in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 23 Oct 2012, 10:46 PM
  3. Replies: 8
    Last Post: 5 Aug 2012, 10:01 AM
  4. Using XTemplate in Grid
    By Con in forum Ext GWT: Help & Discussion (1.x)
    Replies: 0
    Last Post: 11 Dec 2008, 2:04 AM
  5. Using XTemplate in Grid
    By Con in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 11 Dec 2008, 1:45 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
  •