231 height: 630, |
231 height: 630, |
232 source: dataAdapter, |
232 source: dataAdapter, |
233 theme: theme, |
233 theme: theme, |
234 showstatusbar: true, |
234 showstatusbar: true, |
235 renderstatusbar: function(statusbar) { |
235 renderstatusbar: function(statusbar) { |
|
236 var rowCount = $("#jqxgrid").jqxGrid('getrows').length; |
|
237 statusbar.append('<div style="float: left; margin: 8px; color: orange !important;">Aantal items: ' + rowCount + '</div>'); |
236 var container = $('<div style="overflow: hidden; position: relative; margin: 5px;"></div>'); |
238 var container = $('<div style="overflow: hidden; position: relative; margin: 5px;"></div>'); |
237 var addButton = $('<div style="float: right; margin-right: 15px;"><img style="position: relative; margin-top: 2px;" ' + |
239 var addButton = $('<div style="float: right; margin-right: 15px;"><img style="position: relative; margin-top: 2px;" ' + |
238 'src="images/add.png"/><span style="margin-left: 4px; position: relative; top: -4px;">Nieuw</span></div>'); |
240 'src="images/add.png"/><span style="margin-left: 4px; position: relative; top: -4px;">Nieuw</span></div>'); |
239 container.append(addButton); |
241 container.append(addButton); |
240 statusbar.append(container); |
242 statusbar.append(container); |