Forum
13:53
19/12/2013
Hello. I´ve read several posts on that, but couldn´t find why my icons are not being shown. I would appreciate very much any kind of help.
Below goes my code:
<link href="@Url.Content("~/Content/themes/jquery-ui.css")" rel="stylesheet" media="screen">
<link href="@Url.Content("~/Content/jquery.jqGrid/ui.jqgrid.css")" rel="stylesheet" media="screen">
<link href="@Url.Content("~/Content/jquery.jqGrid/ui.multiselect.css")" rel="stylesheet" media="screen">
<script src="js/i18n/grid.locale-en.js" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/i18n/grid.locale-pt.js")"></script>
<script src="@Url.Content("~/Scripts/jquery.jqGrid.min.js")"></script>
<script src="@Url.Content("~/Scripts/ui.multiselect.js")"></script>
<script src="@Url.Content("~/Scripts/jquery.tablednd.js")"></script>
<script src="@Url.Content("~/Scripts/jquery.contextmenu.js")"></script>
<script type="text/javascript">
jQuery(document).ready(function () {
$('#myGrid').jqGrid({
height: 300,
toolbar: [true, 'bottom'],
multiselect: true,
cellEdit: false,
rowNumbers: true,
datatype: 'json',
rowNum: 50,
rowList: [50, 100, 200],
url: '@Url.Action("GetGridData", "AdminSysLog")',
editurl: '@Url.Action("CRUDGridData", "AdminSysLog")',
contentType: "application/json; charset-utf-8",
caption: 'System Logs',
mtype: 'POST',
shrinkToFit: false,
pager: '#myPager',
sortname: 'DateTime',
sortorder: 'desc',
viewrecords: true,
colNames: ['DATETIME', 'LEVEL', 'TYPE', 'SYSTEM', 'USER', 'MESSAGE'],
colModel: [
{ name: 'DateTime', align: 'center', width: 140, sortable: true, editable: false, searchoptions: { sopt: ['eq', 'ne', 'cn'] } },
{ name: 'Severity', align: 'center', width: 50, sortable: true, editable: false, searchoptions: { sopt: ['eq', 'ne', 'cn'] } },
{ name: 'Type', align: 'center', width: 50, sortable: true, editable: false, searchoptions: { sopt: ['eq', 'ne', 'cn'] } },
{ name: 'Source', align: 'center', width: 100, sortable: true, editable: false, searchoptions: { sopt: ['eq', 'ne', 'cn'] } },
{ name: 'User', align: 'center', width: 100, sortable: true, editable: false, searchoptions: { sopt: ['eq', 'ne', 'cn'] } },
{ name: 'Message', align: 'left', width: 500, sortable: true, editable: false, searchoptions: { sopt: ['eq', 'ne', 'cn'] } },
]
}).navGrid('#myPager', {
edit: false,
add: false,
del: true,
search: true,
deltext: "Apaga",
searchtext: "Busca",
viewrecords: true
}
);
});
</script>
<table id="myGrid"></table>
<div id="myPager"></div>
<br />
<br />
14:28
Moderators
30/10/2007
Hello,
It seems you do not have the full jQuery UI theme - it is possible to miss sonme files.
The very simple test is - download another theme and try with it.
Regards
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
37 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66