jqgrid

jqGrid based grid
6 reviews   downloaded 1002 times
created by MetaYii, last updated on June 13, 2009
#708
Theme
by breakeneck at 10:15am on October 7, 2009.

How can I set up a theme for jqGrid? In official jqGrid documentation I found this:

In order to use jqGrid 3.5, first a UI theme css file should be loaded. Download the desired theme (or build a custom one) from jQueryUI site (www.jqueryui.com) and point in your link tag in head section the path to the theme css

where the path_to_ui_css_file is a valid path to the ui theme file

How can it maybe applyable to jqgrid extension?

#831
jui extensions
by jerry2801 at 11:58am on November 24, 2009.

i found zii.widget.jui in svn!

this extension can use the zii.widget.jui to compile?

if use the zii, i can save more than disc space:)

#832
how to set addfunc?
by jerry2801 at 11:27pm on November 24, 2009.

on navBarOptions settings, how to set addfunc, editfunc, etc...

code 'navBarOptions' => array( 'search' => false, 'addfunc' => "function() { window.location.href = url('/add'); }", ), /code

the above code can't work

#833
i found the solution in source code~
by jerry2801 at 11:09am on November 25, 2009.

'addfunc' => 'js:function() { alert(1); }',

above code can work~

:)

#834
one more question~
by jerry2801 at 11:38am on November 25, 2009.

behind the "navBarOptions", has more settings~

like:

).navGrid(
    '#grid-pager',
    // options
    {
        search: false,
        addfunc: function() {
            window.location.href = url('/add');
        },
        editfunc: function(id) {
            window.location.href = url('/edit', {id: id});
        }
    },
    // edit
    {
    },
    // add
    {
    },
    // del
    {
        url: createUrl('del')
    }
);


current edition can not set this?

#835
i enhanced this extension~
by jerry2801 at 11:22am on November 25, 2009.

as the title, how can i sumit the fix version to you?

on jqGrid official document is explain the api: http://www.secondpersonplural.ca/jqgriddocs/_2er0j2mvk.htm

so, i upload on my host, and you can refere the modification

http://php.21deke.com/.tmp/EJqGrid.txt

New Review

Please login first.