156 height: 630, |
156 height: 630, |
157 source: dataAdapter, |
157 source: dataAdapter, |
158 theme: theme, |
158 theme: theme, |
159 showstatusbar: true, |
159 showstatusbar: true, |
160 renderstatusbar: function(statusbar) { |
160 renderstatusbar: function(statusbar) { |
|
161 var rowCount = $("#jqxgrid").jqxGrid('getrows').length; |
|
162 statusbar.append('<div style="float: left; margin: 8px; color: orange !important;">Aantal items: ' + rowCount + '</div>'); |
161 var addButton, container = $('<div style="overflow: hidden; position: relative; margin: 5px;"></div>'); |
163 var addButton, container = $('<div style="overflow: hidden; position: relative; margin: 5px;"></div>'); |
162 addButton = $('<div style="float: right; margin-right: 15px;"><img style="position: relative; margin-top: 2px;" ' + |
164 addButton = $('<div style="float: right; margin-right: 15px;"><img style="position: relative; margin-top: 2px;" ' + |
163 'src="images/add.png"/><span style="margin-left: 4px; position: relative; top: -4px;">Nieuw</span></div>'); |
165 'src="images/add.png"/><span style="margin-left: 4px; position: relative; top: -4px;">Nieuw</span></div>'); |
164 expButton = $('<div style="float: right; margin-right: 50px;"><img style="position: relative; margin-top: 2px;" ' + |
166 expButton = $('<div style="float: right; margin-right: 50px;"><img style="position: relative; margin-top: 2px;" ' + |
165 'src="images/database.png"/><span style="margin-left: 4px; position: relative; top: -10px;">Export</span></div>'); |
167 'src="images/database.png"/><span style="margin-left: 4px; position: relative; top: -10px;">Export</span></div>'); |