EasyUI Forum
May 06, 2024, 01:18:51 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: propertygrid method  (Read 5814 times)
SCM
Newbie
*
Posts: 1


View Profile Email
« on: August 02, 2013, 08:21:06 AM »

I'm implementing PropertyGrid and have used the demo files code.
The grid does not display and I get the error:

Object doesn't support property or method 'propertygrid'

This is raised from the line  $('#pg').propertygrid('appendRow', row) in the function below.
I see that easyloader.js hosts 'propertygrid' and easyloader.js is loaded via <script src...
What am I missing??!

function PopulatePropertyGrid() {
    var row = {
        name: 'AddName',
        value: '',
        group: 'Marketing Settings',
        editor: 'text'
    };
    $('#pg').propertygrid('appendRow', row);
}

Logged
varonica
Full Member
***
Posts: 106


View Profile
« Reply #1 on: August 02, 2013, 07:30:25 PM »

I have found nothing is wrong with it. It's better to provide some codes.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!