1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    163
    Answers
    5
    Vote Rating
    2
    rafaelrp is on a distinguished road

      0  

    Default Answered: Problem with Row Expander plugin in Ext 4.2 [NOT MVC]

    Answered: Problem with Row Expander plugin in Ext 4.2 [NOT MVC]


    Hello!

    I'm having a problem with rowexpander plugin, i'm getting error in chrome and firefox, this error occurs when the grid is called.

    Error:
    Uncaught TypeError: Cannot call method 'substring' of undefined
    Here is the code
    Code:
    grid definition
    ...
    plugins: [{
         ptype: 'rowexpander',
         rowBodyTpl: new Ext.XTemplate(
           '<p>Origem: {origem}</p>'
         ),
        expandOnDblClick: true
    }],
    ... columns
    Thanks!

  2. I resolved this problem by adding the component script directly in the page's head.

    <script type="text/javascript" src="../includes/ext4.2/resources/RowExpander.js"></script>
    Thanks!

  3. #2
    Sencha User
    Join Date
    Oct 2013
    Posts
    4
    Vote Rating
    0
    dmandala is on a distinguished road

      0  

    Default


    I experienced similar issue with extjs 4.2. I then referenced extjs 4.0.7 version and everything started working.

  4. #3
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    3,366
    Answers
    145
    Vote Rating
    62
    Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough

      0  

    Default


    I couldn't find any helpful information based on that error message. I created this test Fiddle using your plugin configuration:
    https://fiddle.sencha.com/#fiddle/1ah

    Hopefully someone has seen this and will post, but you might try posting more of your code, perhaps in a Fiddle.
    Get on the Fast Track with Sencha Training http://sencha.com/training

    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager: sheryl@sencha.com

  5. #4
    Sencha User
    Join Date
    Jun 2011
    Posts
    163
    Answers
    5
    Vote Rating
    2
    rafaelrp is on a distinguished road

      1  

    Default


    I resolved this problem by adding the component script directly in the page's head.

    <script type="text/javascript" src="../includes/ext4.2/resources/RowExpander.js"></script>
    Thanks!

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi