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