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