191 height: 630, |
191 height: 630, |
192 source: dataAdapter, |
192 source: dataAdapter, |
193 theme: theme, |
193 theme: theme, |
194 showstatusbar: true, |
194 showstatusbar: true, |
195 renderstatusbar: function(statusbar) { |
195 renderstatusbar: function(statusbar) { |
|
196 var rowCount = $("#jqxgrid").jqxGrid('getrows').length; |
|
197 statusbar.append('<div style="float: left; margin: 8px; color: orange !important;">Aantal items: ' + rowCount + '</div>'); |
196 var container, addButton, impButton; |
198 var container, addButton, impButton; |
197 container = $('<div style="overflow: hidden; position: relative; margin: 5px;"></div>'); |
199 container = $('<div style="overflow: hidden; position: relative; margin: 5px;"></div>'); |
198 addButton = $('<div style="float: right; margin-right: 15px;"><img style="position: relative; margin-top: 2px;" ' + |
200 addButton = $('<div style="float: right; margin-right: 15px;"><img style="position: relative; margin-top: 2px;" ' + |
199 'src="images/add.png"/><span style="margin-left: 4px; position: relative; top: -4px;">Nieuw</span></div>'); |
201 'src="images/add.png"/><span style="margin-left: 4px; position: relative; top: -4px;">Nieuw</span></div>'); |
200 impButton = $('<div style="float: right; margin-right: 50px;"><img style="position: relative; margin-top: 2px;" ' + |
202 impButton = $('<div style="float: right; margin-right: 50px;"><img style="position: relative; margin-top: 2px;" ' + |