1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    147
    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
    2,447
    Answers
    91
    Vote Rating
    52
    Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about

      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.
    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
    147
    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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar