ultimix
Main Page
Data Structures
Files
Examples
File List
Globals
jqgrid.autorun.js
Go to the documentation of this file.
1
12
if
( !
ultimix
)
13
{
14
ultimix
= {};
15
}
16
22
if
( !
ultimix
.jqgrid )
23
{
24
ultimix
.jqgrid = {};
25
}
26
34
ultimix
.jqgrid.CorrectStyles =
function
( GridId )
35
{
36
jQuery
(
'#gbox_'
+ GridId +
'_list'
).attr(
'style'
,
'width: auto;'
);
37
jQuery
(
'#gbox_'
+ GridId +
'_list'
).find(
'.ui-jqgrid-view'
).attr(
'style'
,
'width: auto;'
);
38
jQuery
(
'#gbox_'
+ GridId +
'_list'
).find(
'.ui-jqgrid-hdiv'
).attr(
'style'
,
'width: auto;'
);
39
jQuery
(
'#gbox_'
+ GridId +
'_list'
).find(
'.ui-jqgrid-bdiv'
).attr(
40
'style'
,
'height: auto; min-height: 200px; width: auto;'
41
);
42
jQuery
(
'#gbox_'
+ GridId +
'_list'
).find(
'.ui-jqgrid-pager'
).attr(
'style'
,
'width: auto;'
);
43
}
44
45
jQuery
(
46
function
()
47
{
48
/* processing parameters */
49
jQuery
(
'.jqgrid'
).each(
50
function
( Index , Object )
51
{
52
var GridId =
jQuery
( Object ).attr(
'id'
);
53
eval(
'var Options = '
+
jQuery
( Object ).html() );
54
55
jQuery
( Object ).replaceWith(
56
'<table id="'
+ GridId +
'_list"></table><div id="'
+ GridId +
'_pager"></div>'
57
);
58
59
jQuery
(
'#'
+ GridId +
'_list'
).jqGrid( Options );
60
61
ultimix
.jqgrid.CorrectStyles( GridId );
62
}
63
);
64
}
65
);
packages
gui
packages
jqgrid
include
js
jqgrid.autorun.js
Generated on Fri Sep 28 2012 17:16:46 for ultimix by
1.8.1.2