202 theme: theme, |
202 theme: theme, |
203 showstatusbar: true, |
203 showstatusbar: true, |
204 renderstatusbar: function (statusbar) { |
204 renderstatusbar: function (statusbar) { |
205 var container = $("<div style='overflow: hidden; position: relative; margin: 5px;'></div>"); |
205 var container = $("<div style='overflow: hidden; position: relative; margin: 5px;'></div>"); |
206 var addButton = $("<div style='float: right; margin-right: 15px;'><img style='position: relative; margin-top: 2px;' src='images/add.png'/><span style='margin-left: 4px; position: relative; top: -3px;'>Nieuw</span></div>"); |
206 var addButton = $("<div style='float: right; margin-right: 15px;'><img style='position: relative; margin-top: 2px;' src='images/add.png'/><span style='margin-left: 4px; position: relative; top: -3px;'>Nieuw</span></div>"); |
|
207 var impButton = $("<div style='float: right; margin-right: 50px;'><img style='position: relative; margin-top: 2px;' src='images/add.png'/><span style='margin-left: 4px; position: relative; top: -3px;'>Import</span></div>"); |
207 container.append(addButton); |
208 container.append(addButton); |
|
209 container.append(impButton); |
208 statusbar.append(container); |
210 statusbar.append(container); |
209 addButton.jqxButton({ theme: theme, width: 90, height: 20 }); |
211 addButton.jqxButton({ theme: theme, width: 90, height: 20 }); |
|
212 impButton.jqxButton({ theme: theme, width: 90, height: 20 }); |
210 // add new row. |
213 // add new row. |
211 addButton.click(function (event) { |
214 addButton.click(function (event) { |
212 editrow = -1; |
215 editrow = -1; |
213 $("#popupWindow").jqxWindow({ position: { x: 110, y: 30 } }); |
216 $("#popupWindow").jqxWindow({ position: { x: 110, y: 30 } }); |
214 $("#name").val(''); |
217 $("#name").val(''); |