EasyUI Forum
November 04, 2025, 08:12:09 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / propertygrid method 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);
}

Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!