smart-webcomponents-react 14.2.83 → 14.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (376) hide show
  1. package/alertwindow/alertwindow.d.ts +5 -5
  2. package/alertwindow/alertwindow.esm.js +10 -85
  3. package/alertwindow/alertwindow.umd.js +1134 -1209
  4. package/array/array.d.ts +5 -5
  5. package/array/array.esm.js +13 -88
  6. package/array/array.umd.js +752 -827
  7. package/barcode/barcode.d.ts +3 -3
  8. package/barcode/barcode.esm.js +6 -61
  9. package/barcode/barcode.umd.js +311 -366
  10. package/button/dropdownbutton.d.ts +2 -2
  11. package/button/multisplitbutton.d.ts +2 -2
  12. package/calendar/calendar.d.ts +2 -2
  13. package/calendar/calendar.esm.js +4 -49
  14. package/calendar/calendar.umd.js +710 -755
  15. package/card/cardview.d.ts +1 -1
  16. package/cardview/cardview.d.ts +1 -1
  17. package/cardview/cardview.esm.js +2 -37
  18. package/cardview/cardview.umd.js +515 -550
  19. package/chart/chart.d.ts +9 -9
  20. package/chart/chart.esm.js +18 -133
  21. package/chart/chart.umd.js +822 -937
  22. package/chart/ganttchart.d.ts +20 -20
  23. package/combobox/combobox.d.ts +4 -4
  24. package/combobox/combobox.esm.js +8 -73
  25. package/combobox/combobox.umd.js +1341 -1406
  26. package/datetimepicker/datetimepicker.d.ts +1 -1
  27. package/datetimepicker/datetimepicker.esm.js +2 -37
  28. package/datetimepicker/datetimepicker.umd.js +826 -861
  29. package/dialogwindow/dialogwindow.d.ts +5 -5
  30. package/dialogwindow/dialogwindow.esm.js +10 -85
  31. package/dialogwindow/dialogwindow.umd.js +1134 -1209
  32. package/dockinglayout/dockinglayout.d.ts +7 -7
  33. package/dockinglayout/dockinglayout.esm.js +14 -109
  34. package/dockinglayout/dockinglayout.umd.js +765 -860
  35. package/dropdownbutton/dropdownbutton.d.ts +2 -2
  36. package/dropdownbutton/dropdownbutton.esm.js +4 -49
  37. package/dropdownbutton/dropdownbutton.umd.js +527 -572
  38. package/dropdownlist/dropdownlist.d.ts +4 -4
  39. package/dropdownlist/dropdownlist.esm.js +8 -73
  40. package/dropdownlist/dropdownlist.umd.js +1275 -1340
  41. package/editor/editor.d.ts +11 -9
  42. package/editor/editor.esm.js +14 -109
  43. package/editor/editor.umd.js +911 -1006
  44. package/fileupload/fileupload.d.ts +2 -1
  45. package/filterbuilder/filterbuilder.d.ts +1 -1
  46. package/filterbuilder/filterbuilder.esm.js +2 -37
  47. package/filterbuilder/filterbuilder.umd.js +463 -498
  48. package/filterpanel/filterpanel.d.ts +1 -1
  49. package/filterpanel/filterpanel.esm.js +2 -37
  50. package/filterpanel/filterpanel.umd.js +354 -389
  51. package/form/form.d.ts +1 -1
  52. package/form/form.esm.js +4 -49
  53. package/form/form.umd.js +1016 -1061
  54. package/form/formgroup.d.ts +1 -1
  55. package/ganttchart/ganttchart.d.ts +20 -20
  56. package/ganttchart/ganttchart.esm.js +40 -265
  57. package/ganttchart/ganttchart.umd.js +1666 -1891
  58. package/gauge/gauge.d.ts +2 -2
  59. package/gauge/gauge.esm.js +4 -49
  60. package/gauge/gauge.umd.js +664 -709
  61. package/grid/grid.d.ts +56 -51
  62. package/grid/grid.esm.js +96 -460
  63. package/grid/grid.umd.js +2107 -2471
  64. package/index.d.ts +45 -3
  65. package/input/input.d.ts +2 -2
  66. package/input/input.esm.js +4 -49
  67. package/input/input.umd.js +505 -550
  68. package/input/numberinput.d.ts +2 -2
  69. package/input/phoneinput.d.ts +4 -4
  70. package/kanban/kanban.d.ts +6 -6
  71. package/kanban/kanban.esm.js +12 -97
  72. package/kanban/kanban.umd.js +1334 -1419
  73. package/layout/dockinglayout.d.ts +7 -7
  74. package/listbox/listbox.d.ts +5 -5
  75. package/listbox/listbox.esm.js +10 -85
  76. package/listbox/listbox.umd.js +1170 -1245
  77. package/listmenu/listmenu.d.ts +1 -1
  78. package/listmenu/listmenu.esm.js +2 -37
  79. package/listmenu/listmenu.umd.js +1005 -1040
  80. package/menu/listmenu.d.ts +1 -1
  81. package/menu/menu.d.ts +1 -1
  82. package/menu/menu.esm.js +2 -37
  83. package/menu/menu.umd.js +1025 -1060
  84. package/multilinetextbox/multilinetextbox.d.ts +1 -1
  85. package/multilinetextbox/multilinetextbox.esm.js +2 -37
  86. package/multilinetextbox/multilinetextbox.umd.js +907 -942
  87. package/multilinewindow/multilinewindow.d.ts +5 -5
  88. package/multilinewindow/multilinewindow.esm.js +10 -85
  89. package/multilinewindow/multilinewindow.umd.js +1134 -1209
  90. package/multisplitbutton/multisplitbutton.d.ts +2 -2
  91. package/multisplitbutton/multisplitbutton.esm.js +4 -49
  92. package/multisplitbutton/multisplitbutton.umd.js +941 -986
  93. package/numberinput/numberinput.d.ts +2 -2
  94. package/numberinput/numberinput.esm.js +4 -49
  95. package/numberinput/numberinput.umd.js +348 -393
  96. package/numerictextbox/numerictextbox.d.ts +1 -1
  97. package/numerictextbox/numerictextbox.esm.js +2 -37
  98. package/numerictextbox/numerictextbox.umd.js +592 -627
  99. package/package.json +1 -1
  100. package/phoneinput/phoneinput.d.ts +4 -4
  101. package/phoneinput/phoneinput.esm.js +8 -73
  102. package/phoneinput/phoneinput.umd.js +386 -451
  103. package/pivottable/pivottable.d.ts +3 -3
  104. package/pivottable/pivottable.esm.js +6 -61
  105. package/pivottable/pivottable.umd.js +762 -817
  106. package/progresswindow/progresswindow.d.ts +5 -5
  107. package/progresswindow/progresswindow.esm.js +10 -85
  108. package/progresswindow/progresswindow.umd.js +1134 -1209
  109. package/promptwindow/promptwindow.d.ts +5 -5
  110. package/promptwindow/promptwindow.esm.js +10 -85
  111. package/promptwindow/promptwindow.umd.js +1134 -1209
  112. package/qrcode/qrcode.d.ts +3 -3
  113. package/qrcode/qrcode.esm.js +6 -61
  114. package/qrcode/qrcode.umd.js +333 -388
  115. package/querybuilder/querybuilder.d.ts +6 -1
  116. package/querybuilder/querybuilder.esm.js +14 -38
  117. package/querybuilder/querybuilder.umd.js +446 -470
  118. package/rating/rating.d.ts +1 -1
  119. package/rating/rating.esm.js +2 -37
  120. package/rating/rating.umd.js +261 -296
  121. package/scheduler/scheduler.d.ts +17 -17
  122. package/scheduler/scheduler.esm.js +34 -229
  123. package/scheduler/scheduler.umd.js +1782 -1977
  124. package/slider/slider.d.ts +2 -2
  125. package/slider/slider.esm.js +4 -49
  126. package/slider/slider.umd.js +642 -687
  127. package/source/modules/smart.accordion.js +1 -1
  128. package/source/modules/smart.array.js +2 -2
  129. package/source/modules/smart.barcode.js +1 -1
  130. package/source/modules/smart.breadcrumb.js +1 -1
  131. package/source/modules/smart.button.js +1 -1
  132. package/source/modules/smart.buttongroup.js +1 -1
  133. package/source/modules/smart.calendar.js +3 -3
  134. package/source/modules/smart.card.js +1 -1
  135. package/source/modules/smart.cardview.js +4 -4
  136. package/source/modules/smart.carousel.js +1 -1
  137. package/source/modules/smart.chart.js +1 -1
  138. package/source/modules/smart.checkbox.js +1 -1
  139. package/source/modules/smart.checkinput.js +2 -2
  140. package/source/modules/smart.chip.js +1 -1
  141. package/source/modules/smart.colorinput.js +2 -2
  142. package/source/modules/smart.colorpanel.js +2 -2
  143. package/source/modules/smart.colorpicker.js +2 -2
  144. package/source/modules/smart.combobox.js +2 -2
  145. package/source/modules/smart.common.js +1 -1
  146. package/source/modules/smart.countryinput.js +2 -2
  147. package/source/modules/smart.dateinput.js +3 -3
  148. package/source/modules/smart.daterangeinput.js +4 -4
  149. package/source/modules/smart.datetimepicker.js +3 -3
  150. package/source/modules/smart.dockinglayout.js +1 -1
  151. package/source/modules/smart.dropdownbutton.js +1 -1
  152. package/source/modules/smart.dropdownlist.js +2 -2
  153. package/source/modules/smart.editor.js +5 -5
  154. package/source/modules/smart.element.js +1 -1
  155. package/source/modules/smart.fileupload.js +3 -3
  156. package/source/modules/smart.form.js +2 -2
  157. package/source/modules/smart.formulaparser.js +1 -1
  158. package/source/modules/smart.ganttchart.js +5 -5
  159. package/source/modules/smart.gauge.js +1 -1
  160. package/source/modules/smart.grid.js +14 -14
  161. package/source/modules/smart.gridpanel.js +4 -4
  162. package/source/modules/smart.input.js +2 -2
  163. package/source/modules/smart.kanban.js +5 -5
  164. package/source/modules/smart.layout.js +1 -1
  165. package/source/modules/smart.led.js +1 -1
  166. package/source/modules/smart.listbox.js +2 -2
  167. package/source/modules/smart.listmenu.js +1 -1
  168. package/source/modules/smart.map.js +1 -1
  169. package/source/modules/smart.maskedtextbox.js +2 -2
  170. package/source/modules/smart.menu.js +1 -1
  171. package/source/modules/smart.multicomboinput.js +2 -2
  172. package/source/modules/smart.multiinput.js +2 -2
  173. package/source/modules/smart.multilinetextbox.js +2 -2
  174. package/source/modules/smart.multisplitbutton.js +2 -2
  175. package/source/modules/smart.numberinput.js +2 -2
  176. package/source/modules/smart.numerictextbox.js +2 -2
  177. package/source/modules/smart.pager.js +2 -2
  178. package/source/modules/smart.passwordinput.js +2 -2
  179. package/source/modules/smart.passwordtextbox.js +2 -2
  180. package/source/modules/smart.path.js +1 -1
  181. package/source/modules/smart.phoneinput.js +2 -2
  182. package/source/modules/smart.pivottable.js +3 -3
  183. package/source/modules/smart.progressbar.js +1 -1
  184. package/source/modules/smart.qrcode.js +1 -1
  185. package/source/modules/smart.querybuilder.js +5 -5
  186. package/source/modules/smart.radiobutton.js +1 -1
  187. package/source/modules/smart.rating.js +1 -1
  188. package/source/modules/smart.router.js +1 -1
  189. package/source/modules/smart.scheduler.js +4 -4
  190. package/source/modules/smart.scrollbar.js +1 -1
  191. package/source/modules/smart.slider.js +1 -1
  192. package/source/modules/smart.sortable.js +1 -1
  193. package/source/modules/smart.splitter.js +1 -1
  194. package/source/modules/smart.switchbutton.js +1 -1
  195. package/source/modules/smart.table.js +3 -3
  196. package/source/modules/smart.tabs.js +1 -1
  197. package/source/modules/smart.tank.js +1 -1
  198. package/source/modules/smart.textarea.js +2 -2
  199. package/source/modules/smart.textbox.js +2 -2
  200. package/source/modules/smart.timeinput.js +2 -2
  201. package/source/modules/smart.timepicker.js +1 -1
  202. package/source/modules/smart.toast.js +1 -1
  203. package/source/modules/smart.tooltip.js +1 -1
  204. package/source/modules/smart.tree.js +1 -1
  205. package/source/modules/smart.validator.js +1 -1
  206. package/source/modules/smart.window.js +2 -2
  207. package/source/smart.accordion.js +1 -1
  208. package/source/smart.ajax.js +1 -1
  209. package/source/smart.array.js +1 -1
  210. package/source/smart.barcode.js +1 -1
  211. package/source/smart.bootstrap.js +1 -1
  212. package/source/smart.breadcrumb.js +1 -1
  213. package/source/smart.button.js +1 -1
  214. package/source/smart.buttongroup.js +1 -1
  215. package/source/smart.calendar.js +2 -2
  216. package/source/smart.card.js +1 -1
  217. package/source/smart.cardview.js +1 -1
  218. package/source/smart.carousel.js +1 -1
  219. package/source/smart.chart.annotations.js +1 -1
  220. package/source/smart.chart.api.js +1 -1
  221. package/source/smart.chart.core.js +1 -1
  222. package/source/smart.chart.js +1 -1
  223. package/source/smart.chart.rangeselector.js +1 -1
  224. package/source/smart.chart.waterfall.js +1 -1
  225. package/source/smart.checkbox.js +1 -1
  226. package/source/smart.checkinput.js +1 -1
  227. package/source/smart.chip.js +1 -1
  228. package/source/smart.colorinput.js +1 -1
  229. package/source/smart.colorpanel.js +1 -1
  230. package/source/smart.colorpicker.js +1 -1
  231. package/source/smart.combobox.js +1 -1
  232. package/source/smart.complex.js +1 -1
  233. package/source/smart.core.js +1 -1
  234. package/source/smart.countryinput.js +1 -1
  235. package/source/smart.data.js +1 -1
  236. package/source/smart.date.js +1 -1
  237. package/source/smart.dateformatpanel.js +1 -1
  238. package/source/smart.dateinput.js +1 -1
  239. package/source/smart.daterangeinput.js +1 -1
  240. package/source/smart.datetimepicker.js +1 -1
  241. package/source/smart.dockinglayout.js +1 -1
  242. package/source/smart.draw.js +1 -1
  243. package/source/smart.dropdownbutton.js +1 -1
  244. package/source/smart.dropdownlist.js +1 -1
  245. package/source/smart.editor.js +2 -2
  246. package/source/smart.element.js +1 -1
  247. package/source/smart.elements.js +17 -17
  248. package/source/smart.export.js +1 -1
  249. package/source/smart.fileupload.js +2 -2
  250. package/source/smart.filter.js +1 -1
  251. package/source/smart.filterbuilder.js +2 -2
  252. package/source/smart.filterpanel.js +1 -1
  253. package/source/smart.form.js +1 -1
  254. package/source/smart.format.js +1 -1
  255. package/source/smart.formulaparser.js +1 -1
  256. package/source/smart.ganttchart.js +2 -2
  257. package/source/smart.gauge.js +1 -1
  258. package/source/smart.grid.cell.js +2 -2
  259. package/source/smart.grid.chart.js +1 -1
  260. package/source/smart.grid.column.js +1 -1
  261. package/source/smart.grid.core.js +2 -2
  262. package/source/smart.grid.dialog.js +2 -2
  263. package/source/smart.grid.edit.js +2 -2
  264. package/source/smart.grid.export.js +1 -1
  265. package/source/smart.grid.filter.js +1 -1
  266. package/source/smart.grid.group.js +1 -1
  267. package/source/smart.grid.js +1 -1
  268. package/source/smart.grid.menu.js +2 -2
  269. package/source/smart.grid.pager.js +1 -1
  270. package/source/smart.grid.reorder.js +1 -1
  271. package/source/smart.grid.resize.js +2 -2
  272. package/source/smart.grid.row.js +1 -1
  273. package/source/smart.grid.select.js +2 -2
  274. package/source/smart.grid.sort.js +1 -1
  275. package/source/smart.grid.toolbar.js +2 -2
  276. package/source/smart.grid.tree.js +1 -1
  277. package/source/smart.grid.view.js +2 -2
  278. package/source/smart.gridpanel.js +1 -1
  279. package/source/smart.input.js +2 -2
  280. package/source/smart.kanban.js +2 -2
  281. package/source/smart.layout.js +1 -1
  282. package/source/smart.led.js +1 -1
  283. package/source/smart.listbox.js +2 -2
  284. package/source/smart.listmenu.js +1 -1
  285. package/source/smart.map.js +1 -1
  286. package/source/smart.maskedtextbox.js +1 -1
  287. package/source/smart.math.js +1 -1
  288. package/source/smart.menu.js +1 -1
  289. package/source/smart.multicomboinput.js +1 -1
  290. package/source/smart.multiinput.js +1 -1
  291. package/source/smart.multilinetextbox.js +1 -1
  292. package/source/smart.multisplitbutton.js +1 -1
  293. package/source/smart.numberformatpanel.js +1 -1
  294. package/source/smart.numberinput.js +1 -1
  295. package/source/smart.numeric.js +1 -1
  296. package/source/smart.numerictextbox.js +1 -1
  297. package/source/smart.pager.js +1 -1
  298. package/source/smart.passwordinput.js +1 -1
  299. package/source/smart.passwordtextbox.js +1 -1
  300. package/source/smart.path.js +1 -1
  301. package/source/smart.phoneinput.js +1 -1
  302. package/source/smart.pivottable.js +1 -1
  303. package/source/smart.powerbutton.js +1 -1
  304. package/source/smart.progressbar.js +1 -1
  305. package/source/smart.qrcode.js +1 -1
  306. package/source/smart.radiobutton.js +1 -1
  307. package/source/smart.rating.js +1 -1
  308. package/source/smart.router.js +1 -1
  309. package/source/smart.scheduler.js +1 -1
  310. package/source/smart.scrollbar.js +1 -1
  311. package/source/smart.slider.js +1 -1
  312. package/source/smart.sortable.js +1 -1
  313. package/source/smart.splitter.js +1 -1
  314. package/source/smart.switchbutton.js +1 -1
  315. package/source/smart.table.js +1 -1
  316. package/source/smart.tabs.js +1 -1
  317. package/source/smart.tank.js +1 -1
  318. package/source/smart.textarea.js +1 -1
  319. package/source/smart.textbox.js +1 -1
  320. package/source/smart.tickintervalhandler.js +1 -1
  321. package/source/smart.timeinput.js +1 -1
  322. package/source/smart.timepicker.js +1 -1
  323. package/source/smart.toast.js +1 -1
  324. package/source/smart.tooltip.js +1 -1
  325. package/source/smart.tree.js +1 -1
  326. package/source/smart.validationpanel.js +1 -1
  327. package/source/smart.validator.js +1 -1
  328. package/source/smart.window.js +1 -1
  329. package/source/styles/components/smart.grid.css +1 -1
  330. package/source/styles/default/scss/smart.grid.scss +10 -3
  331. package/source/styles/default/smart.grid.css +7 -3
  332. package/source/styles/smart.default.css +1 -1
  333. package/source/typescript/smart.editor.d.ts +4 -2
  334. package/source/typescript/smart.elements.d.ts +45 -3
  335. package/source/typescript/smart.fileupload.d.ts +2 -1
  336. package/source/typescript/smart.grid.d.ts +34 -0
  337. package/source/typescript/smart.querybuilder.d.ts +5 -0
  338. package/splitter/splitter.d.ts +3 -3
  339. package/splitter/splitter.esm.js +6 -61
  340. package/splitter/splitter.umd.js +901 -956
  341. package/table/pivottable.d.ts +3 -3
  342. package/table/table.d.ts +7 -7
  343. package/table/table.esm.js +14 -109
  344. package/table/table.umd.js +1278 -1373
  345. package/tabs/tabs.d.ts +4 -4
  346. package/tabs/tabs.esm.js +8 -73
  347. package/tabs/tabs.umd.js +875 -940
  348. package/tabs/tabswindow.d.ts +5 -5
  349. package/tabswindow/tabswindow.d.ts +5 -5
  350. package/tabswindow/tabswindow.esm.js +10 -85
  351. package/tabswindow/tabswindow.umd.js +1134 -1209
  352. package/tank/tank.d.ts +2 -2
  353. package/tank/tank.esm.js +4 -49
  354. package/tank/tank.umd.js +598 -643
  355. package/textbox/multilinetextbox.d.ts +1 -1
  356. package/textbox/numerictextbox.d.ts +1 -1
  357. package/timepicker/datetimepicker.d.ts +1 -1
  358. package/toast/toast.d.ts +1 -1
  359. package/toast/toast.esm.js +2 -37
  360. package/toast/toast.umd.js +397 -432
  361. package/tree/tree.d.ts +4 -4
  362. package/tree/tree.esm.js +8 -73
  363. package/tree/tree.umd.js +1310 -1375
  364. package/waitwindow/waitwindow.d.ts +5 -5
  365. package/waitwindow/waitwindow.esm.js +10 -85
  366. package/waitwindow/waitwindow.umd.js +1134 -1209
  367. package/window/alertwindow.d.ts +5 -5
  368. package/window/dialogwindow.d.ts +5 -5
  369. package/window/multilinewindow.d.ts +5 -5
  370. package/window/progresswindow.d.ts +5 -5
  371. package/window/promptwindow.d.ts +5 -5
  372. package/window/tabswindow.d.ts +5 -5
  373. package/window/waitwindow.d.ts +5 -5
  374. package/window/window.d.ts +5 -5
  375. package/window/window.esm.js +10 -85
  376. package/window/window.umd.js +1134 -1209
package/grid/grid.esm.js CHANGED
@@ -9,31 +9,6 @@ import '../source/modules/smart.grid';
9
9
 
10
10
  import React from 'react';
11
11
 
12
- /*! *****************************************************************************
13
- Copyright (c) Microsoft Corporation. All rights reserved.
14
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
15
- this file except in compliance with the License. You may obtain a copy of the
16
- License at http://www.apache.org/licenses/LICENSE-2.0
17
-
18
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
20
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
21
- MERCHANTABLITY OR NON-INFRINGEMENT.
22
-
23
- See the Apache Version 2.0 License for specific language governing permissions
24
- and limitations under the License.
25
- ***************************************************************************** */
26
-
27
- function __awaiter(thisArg, _arguments, P, generator) {
28
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
29
- return new (P || (P = Promise))(function (resolve, reject) {
30
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
31
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
32
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
33
- step((generator = generator.apply(thisArg, _arguments || [])).next());
34
- });
35
- }
36
-
37
12
  const Smart = window.Smart;
38
13
  /**
39
14
  Data Grid UI Component that covers everything from paging, sorting, grouping, filtering, and editing to row and column virtualization, right-to-left layout, export to Excel and PDF and Accessibility.
@@ -325,7 +300,7 @@ class Grid extends React.Component {
325
300
  this.nativeElement.onAfterInit = value;
326
301
  }
327
302
  }
328
- /** Describes the paging settings.
303
+ /** Sets the grid's image upload settings for the image columns.
329
304
  * Property type: any
330
305
  */
331
306
  get onChartInit() {
@@ -336,7 +311,7 @@ class Grid extends React.Component {
336
311
  this.nativeElement.onChartInit = value;
337
312
  }
338
313
  }
339
- /** Describes the pager settings.
314
+ /** Describes the paging settings.
340
315
  * Property type: any
341
316
  */
342
317
  get onRender() {
@@ -347,7 +322,7 @@ class Grid extends React.Component {
347
322
  this.nativeElement.onRender = value;
348
323
  }
349
324
  }
350
- /** Sets the row details.
325
+ /** Describes the pager settings.
351
326
  * Property type: any
352
327
  */
353
328
  get onLoad() {
@@ -358,7 +333,7 @@ class Grid extends React.Component {
358
333
  this.nativeElement.onLoad = value;
359
334
  }
360
335
  }
361
- /** Sets the scroll mode settings.
336
+ /** Sets the row details.
362
337
  * Property type: {(event: KeyboardEvent): void}
363
338
  */
364
339
  get onKey() {
@@ -369,7 +344,7 @@ class Grid extends React.Component {
369
344
  this.nativeElement.onKey = value;
370
345
  }
371
346
  }
372
- /** Describes the column header settings.
347
+ /** Sets the scroll mode settings.
373
348
  * Property type: {(index: number, row: GridRow): void}
374
349
  */
375
350
  get onRowInit() {
@@ -380,7 +355,7 @@ class Grid extends React.Component {
380
355
  this.nativeElement.onRowInit = value;
381
356
  }
382
357
  }
383
- /** Describes the summary row settings.
358
+ /** Describes the column header settings.
384
359
  * Property type: {(index: number, row: GridRow, details: HTMLElement): void}
385
360
  */
386
361
  get onRowDetailInit() {
@@ -391,7 +366,7 @@ class Grid extends React.Component {
391
366
  this.nativeElement.onRowDetailInit = value;
392
367
  }
393
368
  }
394
- /** Describes the settings for the group header.
369
+ /** Describes the summary row settings.
395
370
  * Property type: {(index: number, row: GridRow, details: HTMLElement): void}
396
371
  */
397
372
  get onRowDetailUpdated() {
@@ -402,7 +377,7 @@ class Grid extends React.Component {
402
377
  this.nativeElement.onRowDetailUpdated = value;
403
378
  }
404
379
  }
405
- /** Describes the header settings of the grid.
380
+ /** Describes the settings for the group header.
406
381
  * Property type: {(index: number, row: GridRow, history: any[]): void}
407
382
  */
408
383
  get onRowHistory() {
@@ -413,7 +388,7 @@ class Grid extends React.Component {
413
388
  this.nativeElement.onRowHistory = value;
414
389
  }
415
390
  }
416
- /** Describes the footer settings of the grid.
391
+ /** Describes the header settings of the grid.
417
392
  * Property type: {(index: number, row: GridRow, history: any[]): void}
418
393
  */
419
394
  get onRowStyle() {
@@ -424,7 +399,7 @@ class Grid extends React.Component {
424
399
  this.nativeElement.onRowStyle = value;
425
400
  }
426
401
  }
427
- /** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
402
+ /** Describes the footer settings of the grid.
428
403
  * Property type: {(index: number[], row: GridRow[]): void}
429
404
  */
430
405
  get onRowInserted() {
@@ -435,7 +410,7 @@ class Grid extends React.Component {
435
410
  this.nativeElement.onRowInserted = value;
436
411
  }
437
412
  }
438
- /** The rows property is used to describe all rows displayed in the grid.
413
+ /** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
439
414
  * Property type: {(indexes: number[], rows: GridRow[]): void}
440
415
  */
441
416
  get onRowRemoved() {
@@ -446,7 +421,7 @@ class Grid extends React.Component {
446
421
  this.nativeElement.onRowRemoved = value;
447
422
  }
448
423
  }
449
- /** Describes the selection settings.
424
+ /** The rows property is used to describe all rows displayed in the grid.
450
425
  * Property type: {(index: number[], row: GridRow[], oldValues: any[], values: any[], confirm: {(commit: boolean): void}): void}
451
426
  */
452
427
  get onRowUpdate() {
@@ -457,7 +432,7 @@ class Grid extends React.Component {
457
432
  this.nativeElement.onRowUpdate = value;
458
433
  }
459
434
  }
460
- /** Describes sorting settings.
435
+ /** Describes the selection settings.
461
436
  * Property type: {(index: number[], row: GridRow[]): void}
462
437
  */
463
438
  get onRowUpdated() {
@@ -468,7 +443,7 @@ class Grid extends React.Component {
468
443
  this.nativeElement.onRowUpdated = value;
469
444
  }
470
445
  }
471
- /** undefined
446
+ /** Describes sorting settings.
472
447
  * Property type: {(index: number, data: any, row: GridRow[]): void}
473
448
  */
474
449
  get onRowClass() {
@@ -590,6 +565,17 @@ class Grid extends React.Component {
590
565
  }
591
566
  }
592
567
  /** undefined
568
+ * Property type: GridUploadSettings
569
+ */
570
+ get uploadSettings() {
571
+ return this.nativeElement ? this.nativeElement.uploadSettings : undefined;
572
+ }
573
+ set uploadSettings(value) {
574
+ if (this.nativeElement) {
575
+ this.nativeElement.uploadSettings = value;
576
+ }
577
+ }
578
+ /** undefined
593
579
  * Property type: GridPaging
594
580
  */
595
581
  get paging() {
@@ -734,7 +720,7 @@ class Grid extends React.Component {
734
720
  }
735
721
  // Gets the properties of the React component.
736
722
  get properties() {
737
- return ["appearance", "behavior", "layout", "locale", "clipboard", "columns", "contextMenu", "columnMenu", "columnGroups", "conditionalFormatting", "charting", "checkBoxes", "dataExport", "dataSource", "dataSourceSettings", "editing", "filtering", "grouping", "messages", "onCellValue", "onCellUpdate", "onCellRender", "onBeforeInit", "onInit", "onAfterInit", "onChartInit", "onRender", "onLoad", "onKey", "onRowInit", "onRowDetailInit", "onRowDetailUpdated", "onRowHistory", "onRowStyle", "onRowInserted", "onRowRemoved", "onRowUpdate", "onRowUpdated", "onRowClass", "onCellClass", "onColumnInit", "onColumnInserted", "onColumnRemoved", "onColumnUpdated", "onColumnClone", "onCommand", "rowCSSRules", "currentUser", "users", "paging", "pager", "rowDetail", "scrolling", "columnHeader", "summaryRow", "groupHeader", "header", "footer", "rightToLeft", "rows", "selection", "sorting"];
723
+ return ["appearance", "behavior", "layout", "locale", "clipboard", "columns", "contextMenu", "columnMenu", "columnGroups", "conditionalFormatting", "charting", "checkBoxes", "dataExport", "dataSource", "dataSourceSettings", "editing", "filtering", "grouping", "messages", "onCellValue", "onCellUpdate", "onCellRender", "onBeforeInit", "onInit", "onAfterInit", "onChartInit", "onRender", "onLoad", "onKey", "onRowInit", "onRowDetailInit", "onRowDetailUpdated", "onRowHistory", "onRowStyle", "onRowInserted", "onRowRemoved", "onRowUpdate", "onRowUpdated", "onRowClass", "onCellClass", "onColumnInit", "onColumnInserted", "onColumnRemoved", "onColumnUpdated", "onColumnClone", "onCommand", "rowCSSRules", "currentUser", "users", "uploadSettings", "paging", "pager", "rowDetail", "scrolling", "columnHeader", "summaryRow", "groupHeader", "header", "footer", "rightToLeft", "rows", "selection", "sorting"];
738
724
  }
739
725
  // Gets the events of the React component.
740
726
  get eventListeners() {
@@ -760,36 +746,16 @@ class Grid extends React.Component {
760
746
  * @returns {boolean}
761
747
  */
762
748
  addNewRow(position) {
763
- return __awaiter(this, void 0, void 0, function* () {
764
- const getResultOnRender = () => {
765
- return new Promise(resolve => {
766
- this.nativeElement.whenRendered(() => {
767
- const result = this.nativeElement.addNewRow(position);
768
- resolve(result);
769
- });
770
- });
771
- };
772
- const result = yield getResultOnRender();
773
- return result;
774
- });
749
+ const result = this.nativeElement.addNewRow(position);
750
+ return result;
775
751
  }
776
752
  /** Adds a new column.
777
753
  * @param {any} column. A Grid column object. See 'columns' property.
778
754
  * @returns {boolean}
779
755
  */
780
756
  addNewColumn(column) {
781
- return __awaiter(this, void 0, void 0, function* () {
782
- const getResultOnRender = () => {
783
- return new Promise(resolve => {
784
- this.nativeElement.whenRendered(() => {
785
- const result = this.nativeElement.addNewColumn(column);
786
- resolve(result);
787
- });
788
- });
789
- };
790
- const result = yield getResultOnRender();
791
- return result;
792
- });
757
+ const result = this.nativeElement.addNewColumn(column);
758
+ return result;
793
759
  }
794
760
  /** Adds a new unbound row to the top or bottom. Unbound rows are not part of the Grid's dataSource. They become part of the dataSource, after an unbound row is edited.
795
761
  * @param {number} count. The count of unbound rows.
@@ -797,18 +763,8 @@ class Grid extends React.Component {
797
763
  * @returns {boolean}
798
764
  */
799
765
  addUnboundRow(count, position) {
800
- return __awaiter(this, void 0, void 0, function* () {
801
- const getResultOnRender = () => {
802
- return new Promise(resolve => {
803
- this.nativeElement.whenRendered(() => {
804
- const result = this.nativeElement.addUnboundRow(count, position);
805
- resolve(result);
806
- });
807
- });
808
- };
809
- const result = yield getResultOnRender();
810
- return result;
811
- });
766
+ const result = this.nativeElement.addUnboundRow(count, position);
767
+ return result;
812
768
  }
813
769
  /** Adds a filter to a column. This method will apply a filter to the Grid data. Example for adding multiple filters to a column: grid.addFilter('lastName', ['CONTAINS "burke"', 'or', 'CONTAINS "peterson"']). Example for adding single filter to a column: grid.addFilter('lastName', 'CONTAINS "burke"'). Example for adding numeric filter: grid.addFilter('quantity', '<= 5')
814
770
  * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
@@ -893,18 +849,8 @@ class Grid extends React.Component {
893
849
  * @returns {boolean}
894
850
  */
895
851
  areAllRowsSelected() {
896
- return __awaiter(this, void 0, void 0, function* () {
897
- const getResultOnRender = () => {
898
- return new Promise(resolve => {
899
- this.nativeElement.whenRendered(() => {
900
- const result = this.nativeElement.areAllRowsSelected();
901
- resolve(result);
902
- });
903
- });
904
- };
905
- const result = yield getResultOnRender();
906
- return result;
907
- });
852
+ const result = this.nativeElement.areAllRowsSelected();
853
+ return result;
908
854
  }
909
855
  /** Starts an update operation. This is appropriate when calling multiple methods or set multiple properties at once.
910
856
  */
@@ -1100,18 +1046,8 @@ class Grid extends React.Component {
1100
1046
  * @returns {boolean}
1101
1047
  */
1102
1048
  ensureVisible(rowId, dataField) {
1103
- return __awaiter(this, void 0, void 0, function* () {
1104
- const getResultOnRender = () => {
1105
- return new Promise(resolve => {
1106
- this.nativeElement.whenRendered(() => {
1107
- const result = this.nativeElement.ensureVisible(rowId, dataField);
1108
- resolve(result);
1109
- });
1110
- });
1111
- };
1112
- const result = yield getResultOnRender();
1113
- return result;
1114
- });
1049
+ const result = this.nativeElement.ensureVisible(rowId, dataField);
1050
+ return result;
1115
1051
  }
1116
1052
  /** Ends the editing. This method confirms all changes and closes the opened cell editor(s).
1117
1053
  */
@@ -1196,36 +1132,16 @@ class Grid extends React.Component {
1196
1132
  * @returns {any[]}
1197
1133
  */
1198
1134
  find(query, dataField, condition) {
1199
- return __awaiter(this, void 0, void 0, function* () {
1200
- const getResultOnRender = () => {
1201
- return new Promise(resolve => {
1202
- this.nativeElement.whenRendered(() => {
1203
- const result = this.nativeElement.find(query, dataField, condition);
1204
- resolve(result);
1205
- });
1206
- });
1207
- };
1208
- const result = yield getResultOnRender();
1209
- return result;
1210
- });
1135
+ const result = this.nativeElement.find(query, dataField, condition);
1136
+ return result;
1211
1137
  }
1212
1138
  /** Finds entries by using a query and returns an array of cells. Each cell in the array is also an array in this format: [id, dataField, value]. Example: const cells = grid.findCells('nancy'); returns all cells that have 'nancy' value. Example 2: const cells = grid.findCells('nancy, davolio'); returns all cells that have 'nancy' and 'davolio' values.
1213
1139
  * @param {string} query. Search query. You can enter multiple search strings, by using ','. Example: 'nancy, davolio'
1214
1140
  * @returns {any[]}
1215
1141
  */
1216
1142
  findCells(query) {
1217
- return __awaiter(this, void 0, void 0, function* () {
1218
- const getResultOnRender = () => {
1219
- return new Promise(resolve => {
1220
- this.nativeElement.whenRendered(() => {
1221
- const result = this.nativeElement.findCells(query);
1222
- resolve(result);
1223
- });
1224
- });
1225
- };
1226
- const result = yield getResultOnRender();
1227
- return result;
1228
- });
1143
+ const result = this.nativeElement.findCells(query);
1144
+ return result;
1229
1145
  }
1230
1146
  /** Navigates to a page, when paging is enabled.
1231
1147
  * @param {number} index. page index
@@ -1332,307 +1248,127 @@ class Grid extends React.Component {
1332
1248
  * @returns {number}
1333
1249
  */
1334
1250
  getVerticalScrollMax() {
1335
- return __awaiter(this, void 0, void 0, function* () {
1336
- const getResultOnRender = () => {
1337
- return new Promise(resolve => {
1338
- this.nativeElement.whenRendered(() => {
1339
- const result = this.nativeElement.getVerticalScrollMax();
1340
- resolve(result);
1341
- });
1342
- });
1343
- };
1344
- const result = yield getResultOnRender();
1345
- return result;
1346
- });
1251
+ const result = this.nativeElement.getVerticalScrollMax();
1252
+ return result;
1347
1253
  }
1348
1254
  /** Gets the position of the vertical scrollbar.
1349
1255
  * @returns {number}
1350
1256
  */
1351
1257
  getVerticalScrollValue() {
1352
- return __awaiter(this, void 0, void 0, function* () {
1353
- const getResultOnRender = () => {
1354
- return new Promise(resolve => {
1355
- this.nativeElement.whenRendered(() => {
1356
- const result = this.nativeElement.getVerticalScrollValue();
1357
- resolve(result);
1358
- });
1359
- });
1360
- };
1361
- const result = yield getResultOnRender();
1362
- return result;
1363
- });
1258
+ const result = this.nativeElement.getVerticalScrollValue();
1259
+ return result;
1364
1260
  }
1365
1261
  /** Gets the maximum position of the horizontal scrollbar. You can use this method in combination with the setHorizontalScrollValue to apply a new scroll position.
1366
1262
  * @returns {number}
1367
1263
  */
1368
1264
  getHorizontalScrollMax() {
1369
- return __awaiter(this, void 0, void 0, function* () {
1370
- const getResultOnRender = () => {
1371
- return new Promise(resolve => {
1372
- this.nativeElement.whenRendered(() => {
1373
- const result = this.nativeElement.getHorizontalScrollMax();
1374
- resolve(result);
1375
- });
1376
- });
1377
- };
1378
- const result = yield getResultOnRender();
1379
- return result;
1380
- });
1265
+ const result = this.nativeElement.getHorizontalScrollMax();
1266
+ return result;
1381
1267
  }
1382
1268
  /** Gets the position of the horizontal scrollbar.
1383
1269
  * @returns {number}
1384
1270
  */
1385
1271
  getHorizontalScrollValue() {
1386
- return __awaiter(this, void 0, void 0, function* () {
1387
- const getResultOnRender = () => {
1388
- return new Promise(resolve => {
1389
- this.nativeElement.whenRendered(() => {
1390
- const result = this.nativeElement.getHorizontalScrollValue();
1391
- resolve(result);
1392
- });
1393
- });
1394
- };
1395
- const result = yield getResultOnRender();
1396
- return result;
1397
- });
1272
+ const result = this.nativeElement.getHorizontalScrollValue();
1273
+ return result;
1398
1274
  }
1399
1275
  /** Gets the columns array. Each item in the array contains the column properties which are dynamically set by the user interaction and the columns initialization data properties such as: 'label', 'dataField', 'dataType', 'visible'.
1400
1276
  * @returns {any}
1401
1277
  */
1402
1278
  getColumns() {
1403
- return __awaiter(this, void 0, void 0, function* () {
1404
- const getResultOnRender = () => {
1405
- return new Promise(resolve => {
1406
- this.nativeElement.whenRendered(() => {
1407
- const result = this.nativeElement.getColumns();
1408
- resolve(result);
1409
- });
1410
- });
1411
- };
1412
- const result = yield getResultOnRender();
1413
- return result;
1414
- });
1279
+ const result = this.nativeElement.getColumns();
1280
+ return result;
1415
1281
  }
1416
1282
  /** Gets the editing cell(s), when the grid is editing.
1417
1283
  * @returns {any[]}
1418
1284
  */
1419
1285
  getEditCells() {
1420
- return __awaiter(this, void 0, void 0, function* () {
1421
- const getResultOnRender = () => {
1422
- return new Promise(resolve => {
1423
- this.nativeElement.whenRendered(() => {
1424
- const result = this.nativeElement.getEditCells();
1425
- resolve(result);
1426
- });
1427
- });
1428
- };
1429
- const result = yield getResultOnRender();
1430
- return result;
1431
- });
1286
+ const result = this.nativeElement.getEditCells();
1287
+ return result;
1432
1288
  }
1433
1289
  /** Gets the groups array.
1434
1290
  * @returns {any[]}
1435
1291
  */
1436
1292
  getGroups() {
1437
- return __awaiter(this, void 0, void 0, function* () {
1438
- const getResultOnRender = () => {
1439
- return new Promise(resolve => {
1440
- this.nativeElement.whenRendered(() => {
1441
- const result = this.nativeElement.getGroups();
1442
- resolve(result);
1443
- });
1444
- });
1445
- };
1446
- const result = yield getResultOnRender();
1447
- return result;
1448
- });
1293
+ const result = this.nativeElement.getGroups();
1294
+ return result;
1449
1295
  }
1450
1296
  /** Gets an array of columns with applied sorting. Each member in the array is with column's data field used as a key and 'sortOrder' and 'sortIndex' as a value.
1451
1297
  * @returns {{[dataField: string]: { sortOrder: string, sortIndex: number }}}
1452
1298
  */
1453
1299
  getSortedColumns() {
1454
- return __awaiter(this, void 0, void 0, function* () {
1455
- const getResultOnRender = () => {
1456
- return new Promise(resolve => {
1457
- this.nativeElement.whenRendered(() => {
1458
- const result = this.nativeElement.getSortedColumns();
1459
- resolve(result);
1460
- });
1461
- });
1462
- };
1463
- const result = yield getResultOnRender();
1464
- return result;
1465
- });
1300
+ const result = this.nativeElement.getSortedColumns();
1301
+ return result;
1466
1302
  }
1467
1303
  /** Gets the selection.
1468
1304
  * @returns {any}
1469
1305
  */
1470
1306
  getSelection() {
1471
- return __awaiter(this, void 0, void 0, function* () {
1472
- const getResultOnRender = () => {
1473
- return new Promise(resolve => {
1474
- this.nativeElement.whenRendered(() => {
1475
- const result = this.nativeElement.getSelection();
1476
- resolve(result);
1477
- });
1478
- });
1479
- };
1480
- const result = yield getResultOnRender();
1481
- return result;
1482
- });
1307
+ const result = this.nativeElement.getSelection();
1308
+ return result;
1483
1309
  }
1484
1310
  /** Gets an Array where each item is an Array of row id and row data. If the Grid is used in virtual mode, the row data parameter is empty object, because the data is loaded on demand.
1485
1311
  * @returns {any[]}
1486
1312
  */
1487
1313
  getSelectedRows() {
1488
- return __awaiter(this, void 0, void 0, function* () {
1489
- const getResultOnRender = () => {
1490
- return new Promise(resolve => {
1491
- this.nativeElement.whenRendered(() => {
1492
- const result = this.nativeElement.getSelectedRows();
1493
- resolve(result);
1494
- });
1495
- });
1496
- };
1497
- const result = yield getResultOnRender();
1498
- return result;
1499
- });
1314
+ const result = this.nativeElement.getSelectedRows();
1315
+ return result;
1500
1316
  }
1501
1317
  /** Gets the selected row ids.
1502
1318
  * @returns {any[]}
1503
1319
  */
1504
1320
  getSelectedRowIds() {
1505
- return __awaiter(this, void 0, void 0, function* () {
1506
- const getResultOnRender = () => {
1507
- return new Promise(resolve => {
1508
- this.nativeElement.whenRendered(() => {
1509
- const result = this.nativeElement.getSelectedRowIds();
1510
- resolve(result);
1511
- });
1512
- });
1513
- };
1514
- const result = yield getResultOnRender();
1515
- return result;
1516
- });
1321
+ const result = this.nativeElement.getSelectedRowIds();
1322
+ return result;
1517
1323
  }
1518
1324
  /** Gets the selected row indexes.
1519
1325
  * @returns {any[]}
1520
1326
  */
1521
1327
  getSelectedRowIndexes() {
1522
- return __awaiter(this, void 0, void 0, function* () {
1523
- const getResultOnRender = () => {
1524
- return new Promise(resolve => {
1525
- this.nativeElement.whenRendered(() => {
1526
- const result = this.nativeElement.getSelectedRowIndexes();
1527
- resolve(result);
1528
- });
1529
- });
1530
- };
1531
- const result = yield getResultOnRender();
1532
- return result;
1533
- });
1328
+ const result = this.nativeElement.getSelectedRowIndexes();
1329
+ return result;
1534
1330
  }
1535
1331
  /** Gets the selected cells. The method returns an array of cell. Each cell is an array with row id, column data field and cell value.
1536
1332
  * @returns {any[]}
1537
1333
  */
1538
1334
  getSelectedCells() {
1539
- return __awaiter(this, void 0, void 0, function* () {
1540
- const getResultOnRender = () => {
1541
- return new Promise(resolve => {
1542
- this.nativeElement.whenRendered(() => {
1543
- const result = this.nativeElement.getSelectedCells();
1544
- resolve(result);
1545
- });
1546
- });
1547
- };
1548
- const result = yield getResultOnRender();
1549
- return result;
1550
- });
1335
+ const result = this.nativeElement.getSelectedCells();
1336
+ return result;
1551
1337
  }
1552
1338
  /** Gets an array of columns with applied filters.
1553
1339
  * @returns {any}
1554
1340
  */
1555
1341
  getFilteredColumns() {
1556
- return __awaiter(this, void 0, void 0, function* () {
1557
- const getResultOnRender = () => {
1558
- return new Promise(resolve => {
1559
- this.nativeElement.whenRendered(() => {
1560
- const result = this.nativeElement.getFilteredColumns();
1561
- resolve(result);
1562
- });
1563
- });
1564
- };
1565
- const result = yield getResultOnRender();
1566
- return result;
1567
- });
1342
+ const result = this.nativeElement.getFilteredColumns();
1343
+ return result;
1568
1344
  }
1569
1345
  /** Gets an array of rows, which are visible and match the applied filter.
1570
1346
  * @returns {any}
1571
1347
  */
1572
1348
  getVisibleRows() {
1573
- return __awaiter(this, void 0, void 0, function* () {
1574
- const getResultOnRender = () => {
1575
- return new Promise(resolve => {
1576
- this.nativeElement.whenRendered(() => {
1577
- const result = this.nativeElement.getVisibleRows();
1578
- resolve(result);
1579
- });
1580
- });
1581
- };
1582
- const result = yield getResultOnRender();
1583
- return result;
1584
- });
1349
+ const result = this.nativeElement.getVisibleRows();
1350
+ return result;
1585
1351
  }
1586
1352
  /** Gets the result of the getVisibleRows or the rows hierarchy, when the Grid is in TreeGrid/Grouping mode.
1587
1353
  * @returns {any}
1588
1354
  */
1589
1355
  getViewRows() {
1590
- return __awaiter(this, void 0, void 0, function* () {
1591
- const getResultOnRender = () => {
1592
- return new Promise(resolve => {
1593
- this.nativeElement.whenRendered(() => {
1594
- const result = this.nativeElement.getViewRows();
1595
- resolve(result);
1596
- });
1597
- });
1598
- };
1599
- const result = yield getResultOnRender();
1600
- return result;
1601
- });
1356
+ const result = this.nativeElement.getViewRows();
1357
+ return result;
1602
1358
  }
1603
1359
  /** Gets a JSON object with the following fields: 'sort', 'filter', 'groups', 'paging', 'selectedCells', 'selectedrows'.
1604
1360
  * @returns {any}
1605
1361
  */
1606
1362
  getState() {
1607
- return __awaiter(this, void 0, void 0, function* () {
1608
- const getResultOnRender = () => {
1609
- return new Promise(resolve => {
1610
- this.nativeElement.whenRendered(() => {
1611
- const result = this.nativeElement.getState();
1612
- resolve(result);
1613
- });
1614
- });
1615
- };
1616
- const result = yield getResultOnRender();
1617
- return result;
1618
- });
1363
+ const result = this.nativeElement.getState();
1364
+ return result;
1619
1365
  }
1620
1366
  /** Gets the changes from the batch edit.
1621
1367
  * @returns {{ upDated: [{ id: string, dataField: string, oldValue: Object, newValue: Object }], deleted: [{id: string, data: Object}], added: [{id: string, data: Object}] }}
1622
1368
  */
1623
1369
  getBatchEditChanges() {
1624
- return __awaiter(this, void 0, void 0, function* () {
1625
- const getResultOnRender = () => {
1626
- return new Promise(resolve => {
1627
- this.nativeElement.whenRendered(() => {
1628
- const result = this.nativeElement.getBatchEditChanges();
1629
- resolve(result);
1630
- });
1631
- });
1632
- };
1633
- const result = yield getResultOnRender();
1634
- return result;
1635
- });
1370
+ const result = this.nativeElement.getBatchEditChanges();
1371
+ return result;
1636
1372
  }
1637
1373
  /** Gets a value of a cell.
1638
1374
  * @param {string | number} rowId. row bound id
@@ -1640,36 +1376,16 @@ class Grid extends React.Component {
1640
1376
  * @returns {any}
1641
1377
  */
1642
1378
  getCellValue(rowId, dataField) {
1643
- return __awaiter(this, void 0, void 0, function* () {
1644
- const getResultOnRender = () => {
1645
- return new Promise(resolve => {
1646
- this.nativeElement.whenRendered(() => {
1647
- const result = this.nativeElement.getCellValue(rowId, dataField);
1648
- resolve(result);
1649
- });
1650
- });
1651
- };
1652
- const result = yield getResultOnRender();
1653
- return result;
1654
- });
1379
+ const result = this.nativeElement.getCellValue(rowId, dataField);
1380
+ return result;
1655
1381
  }
1656
1382
  /** Gets a column. Returns a Grid column object.
1657
1383
  * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
1658
1384
  * @returns {GridColumn}
1659
1385
  */
1660
1386
  getColumn(dataField) {
1661
- return __awaiter(this, void 0, void 0, function* () {
1662
- const getResultOnRender = () => {
1663
- return new Promise(resolve => {
1664
- this.nativeElement.whenRendered(() => {
1665
- const result = this.nativeElement.getColumn(dataField);
1666
- resolve(result);
1667
- });
1668
- });
1669
- };
1670
- const result = yield getResultOnRender();
1671
- return result;
1672
- });
1387
+ const result = this.nativeElement.getColumn(dataField);
1388
+ return result;
1673
1389
  }
1674
1390
  /** Gets a value of a column.
1675
1391
  * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
@@ -1677,18 +1393,8 @@ class Grid extends React.Component {
1677
1393
  * @returns {any}
1678
1394
  */
1679
1395
  getColumnProperty(dataField, propertyName) {
1680
- return __awaiter(this, void 0, void 0, function* () {
1681
- const getResultOnRender = () => {
1682
- return new Promise(resolve => {
1683
- this.nativeElement.whenRendered(() => {
1684
- const result = this.nativeElement.getColumnProperty(dataField, propertyName);
1685
- resolve(result);
1686
- });
1687
- });
1688
- };
1689
- const result = yield getResultOnRender();
1690
- return result;
1691
- });
1396
+ const result = this.nativeElement.getColumnProperty(dataField, propertyName);
1397
+ return result;
1692
1398
  }
1693
1399
  /** Gets a value of a row.
1694
1400
  * @param {string | number} rowId. row bound id
@@ -1696,124 +1402,54 @@ class Grid extends React.Component {
1696
1402
  * @returns {any}
1697
1403
  */
1698
1404
  getRowProperty(rowId, propertyName) {
1699
- return __awaiter(this, void 0, void 0, function* () {
1700
- const getResultOnRender = () => {
1701
- return new Promise(resolve => {
1702
- this.nativeElement.whenRendered(() => {
1703
- const result = this.nativeElement.getRowProperty(rowId, propertyName);
1704
- resolve(result);
1705
- });
1706
- });
1707
- };
1708
- const result = yield getResultOnRender();
1709
- return result;
1710
- });
1405
+ const result = this.nativeElement.getRowProperty(rowId, propertyName);
1406
+ return result;
1711
1407
  }
1712
1408
  /** Gets a row. Returns a Grid row object.
1713
1409
  * @param {string | number} rowId. row bound id
1714
1410
  * @returns {GridRow}
1715
1411
  */
1716
1412
  getRow(rowId) {
1717
- return __awaiter(this, void 0, void 0, function* () {
1718
- const getResultOnRender = () => {
1719
- return new Promise(resolve => {
1720
- this.nativeElement.whenRendered(() => {
1721
- const result = this.nativeElement.getRow(rowId);
1722
- resolve(result);
1723
- });
1724
- });
1725
- };
1726
- const result = yield getResultOnRender();
1727
- return result;
1728
- });
1413
+ const result = this.nativeElement.getRow(rowId);
1414
+ return result;
1729
1415
  }
1730
1416
  /** Gets a row by its index. Returns a Grid row object.
1731
1417
  * @param {number} rowIndex. row bound index
1732
1418
  * @returns {GridRow}
1733
1419
  */
1734
1420
  getRowByIndex(rowIndex) {
1735
- return __awaiter(this, void 0, void 0, function* () {
1736
- const getResultOnRender = () => {
1737
- return new Promise(resolve => {
1738
- this.nativeElement.whenRendered(() => {
1739
- const result = this.nativeElement.getRowByIndex(rowIndex);
1740
- resolve(result);
1741
- });
1742
- });
1743
- };
1744
- const result = yield getResultOnRender();
1745
- return result;
1746
- });
1421
+ const result = this.nativeElement.getRowByIndex(rowIndex);
1422
+ return result;
1747
1423
  }
1748
1424
  /** Gets the Data source data associated to the row.
1749
1425
  * @param {string | number} rowId. row bound id
1750
1426
  * @returns {any}
1751
1427
  */
1752
1428
  getRowData(rowId) {
1753
- return __awaiter(this, void 0, void 0, function* () {
1754
- const getResultOnRender = () => {
1755
- return new Promise(resolve => {
1756
- this.nativeElement.whenRendered(() => {
1757
- const result = this.nativeElement.getRowData(rowId);
1758
- resolve(result);
1759
- });
1760
- });
1761
- };
1762
- const result = yield getResultOnRender();
1763
- return result;
1764
- });
1429
+ const result = this.nativeElement.getRowData(rowId);
1430
+ return result;
1765
1431
  }
1766
1432
  /** Gets the Row's id by a row index.
1767
1433
  * @param {number} rowIndex. row index
1768
1434
  * @returns {string | number}
1769
1435
  */
1770
1436
  getRowId(rowIndex) {
1771
- return __awaiter(this, void 0, void 0, function* () {
1772
- const getResultOnRender = () => {
1773
- return new Promise(resolve => {
1774
- this.nativeElement.whenRendered(() => {
1775
- const result = this.nativeElement.getRowId(rowIndex);
1776
- resolve(result);
1777
- });
1778
- });
1779
- };
1780
- const result = yield getResultOnRender();
1781
- return result;
1782
- });
1437
+ const result = this.nativeElement.getRowId(rowIndex);
1438
+ return result;
1783
1439
  }
1784
1440
  /** Gets whether a column's drop-down menu is opened.
1785
1441
  * @returns {boolean}
1786
1442
  */
1787
1443
  hasMenu() {
1788
- return __awaiter(this, void 0, void 0, function* () {
1789
- const getResultOnRender = () => {
1790
- return new Promise(resolve => {
1791
- this.nativeElement.whenRendered(() => {
1792
- const result = this.nativeElement.hasMenu();
1793
- resolve(result);
1794
- });
1795
- });
1796
- };
1797
- const result = yield getResultOnRender();
1798
- return result;
1799
- });
1444
+ const result = this.nativeElement.hasMenu();
1445
+ return result;
1800
1446
  }
1801
1447
  /** This method returns true, if any rows in the Grid are selected.
1802
1448
  * @returns {boolean}
1803
1449
  */
1804
1450
  hasSelectedRows() {
1805
- return __awaiter(this, void 0, void 0, function* () {
1806
- const getResultOnRender = () => {
1807
- return new Promise(resolve => {
1808
- this.nativeElement.whenRendered(() => {
1809
- const result = this.nativeElement.hasSelectedRows();
1810
- resolve(result);
1811
- });
1812
- });
1813
- };
1814
- const result = yield getResultOnRender();
1815
- return result;
1816
- });
1451
+ const result = this.nativeElement.hasSelectedRows();
1452
+ return result;
1817
1453
  }
1818
1454
  /** Hides the Details of a Row, when row details are enabled.
1819
1455
  * @param {string | number} rowId. row bound id