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