174 height: 630, |
174 height: 630, |
175 source: dataAdapter, |
175 source: dataAdapter, |
176 theme: theme, |
176 theme: theme, |
177 showstatusbar: true, |
177 showstatusbar: true, |
178 renderstatusbar: function(statusbar) { |
178 renderstatusbar: function(statusbar) { |
|
179 var rowCount = $("#jqxgrid").jqxGrid('getrows').length; |
|
180 statusbar.append('<div style="float: left; margin: 8px; color: orange !important;">Aantal items: ' + rowCount + '</div>'); |
179 var container, addButton, impButton; |
181 var container, addButton, impButton; |
180 container = $('<div style="overflow: hidden; position: relative; margin: 5px;"></div>'); |
182 container = $('<div style="overflow: hidden; position: relative; margin: 5px;"></div>'); |
181 addButton = $('<div style="float: right; margin-right: 15px;"><img style="position: relative; margin-top: 2px;" ' + |
183 addButton = $('<div style="float: right; margin-right: 15px;"><img style="position: relative; margin-top: 2px;" ' + |
182 'src="images/add.png"/><span style="margin-left: 4px; position: relative; top: -4px;">Nieuw</span></div>'); |
184 'src="images/add.png"/><span style="margin-left: 4px; position: relative; top: -4px;">Nieuw</span></div>'); |
183 impButton = $('<div style="float: right; margin-right: 50px;"><img style="position: relative; margin-top: 2px;" ' + |
185 impButton = $('<div style="float: right; margin-right: 50px;"><img style="position: relative; margin-top: 2px;" ' + |