smart-webcomponents 15.0.1 → 15.0.11

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 (929) hide show
  1. package/bootstrap/source/smart.element.js +1 -1
  2. package/framework/smart.element.js +1 -1
  3. package/package.json +1 -1
  4. package/source/angular/accordion/index.ts +1 -0
  5. package/source/angular/accordion/public_api.ts +5 -0
  6. package/source/angular/accordion/smart.accordion.module.ts +13 -0
  7. package/source/angular/accordion/smart.accordion.ts +370 -0
  8. package/source/angular/accordion/smart.accordionitem.ts +142 -0
  9. package/source/angular/accordion/smart.element.ts +104 -0
  10. package/source/angular/array/index.ts +1 -0
  11. package/source/angular/array/public_api.ts +3 -0
  12. package/source/angular/array/smart.array.module.ts +12 -0
  13. package/source/angular/array/smart.array.ts +817 -0
  14. package/source/angular/array/smart.element.ts +104 -0
  15. package/source/angular/barcode/index.ts +1 -0
  16. package/source/angular/barcode/public_api.ts +3 -0
  17. package/source/angular/barcode/smart.barcode.module.ts +12 -0
  18. package/source/angular/barcode/smart.barcode.ts +288 -0
  19. package/source/angular/barcode/smart.element.ts +104 -0
  20. package/source/angular/bootstrap/bootstrap.button.ts +160 -0
  21. package/source/angular/bootstrap/bootstrap.checkbox.ts +165 -0
  22. package/source/angular/bootstrap/bootstrap.circular.ts +151 -0
  23. package/source/angular/bootstrap/bootstrap.dropdown.ts +253 -0
  24. package/source/angular/bootstrap/bootstrap.fileinput.ts +133 -0
  25. package/source/angular/bootstrap/bootstrap.input.ts +160 -0
  26. package/source/angular/bootstrap/bootstrap.inputgroup.ts +178 -0
  27. package/source/angular/bootstrap/bootstrap.modal.ts +204 -0
  28. package/source/angular/bootstrap/bootstrap.progressbar.ts +151 -0
  29. package/source/angular/bootstrap/bootstrap.radiobutton.ts +156 -0
  30. package/source/angular/bootstrap/bootstrap.range.ts +133 -0
  31. package/source/angular/bootstrap/bootstrap.splitbutton.ts +253 -0
  32. package/source/angular/bootstrap/bootstrap.switchbutton.ts +165 -0
  33. package/source/angular/bootstrap/bootstrap.tabs.ts +175 -0
  34. package/source/angular/bootstrap/bootstrap.textarea.ts +160 -0
  35. package/source/angular/bootstrap/bootstrap.togglebutton.ts +156 -0
  36. package/source/angular/bootstrap/index.ts +1 -0
  37. package/source/angular/bootstrap/public_api.ts +17 -0
  38. package/source/angular/bootstrap/smart.element.ts +104 -0
  39. package/source/angular/breadcrumb/index.ts +1 -0
  40. package/source/angular/breadcrumb/public_api.ts +3 -0
  41. package/source/angular/breadcrumb/smart.breadcrumb.module.ts +12 -0
  42. package/source/angular/breadcrumb/smart.breadcrumb.ts +306 -0
  43. package/source/angular/breadcrumb/smart.element.ts +104 -0
  44. package/source/angular/button/index.ts +1 -0
  45. package/source/angular/button/public_api.ts +9 -0
  46. package/source/angular/button/smart.button.module.ts +15 -0
  47. package/source/angular/button/smart.button.ts +230 -0
  48. package/source/angular/button/smart.element.ts +104 -0
  49. package/source/angular/button/smart.powerbutton.ts +283 -0
  50. package/source/angular/button/smart.repeatbutton.ts +214 -0
  51. package/source/angular/button/smart.togglebutton.ts +235 -0
  52. package/source/angular/buttongroup/index.ts +1 -0
  53. package/source/angular/buttongroup/public_api.ts +3 -0
  54. package/source/angular/buttongroup/smart.buttongroup.module.ts +12 -0
  55. package/source/angular/buttongroup/smart.buttongroup.ts +229 -0
  56. package/source/angular/buttongroup/smart.element.ts +104 -0
  57. package/source/angular/calendar/index.ts +1 -0
  58. package/source/angular/calendar/public_api.ts +3 -0
  59. package/source/angular/calendar/smart.calendar.module.ts +12 -0
  60. package/source/angular/calendar/smart.calendar.ts +787 -0
  61. package/source/angular/calendar/smart.element.ts +104 -0
  62. package/source/angular/card/index.ts +1 -0
  63. package/source/angular/card/public_api.ts +3 -0
  64. package/source/angular/card/smart.card.module.ts +12 -0
  65. package/source/angular/card/smart.card.ts +220 -0
  66. package/source/angular/card/smart.element.ts +104 -0
  67. package/source/angular/cardview/index.ts +1 -0
  68. package/source/angular/cardview/public_api.ts +3 -0
  69. package/source/angular/cardview/smart.cardview.module.ts +12 -0
  70. package/source/angular/cardview/smart.cardview.ts +573 -0
  71. package/source/angular/cardview/smart.element.ts +104 -0
  72. package/source/angular/carousel/index.ts +1 -0
  73. package/source/angular/carousel/public_api.ts +3 -0
  74. package/source/angular/carousel/smart.carousel.module.ts +12 -0
  75. package/source/angular/carousel/smart.carousel.ts +414 -0
  76. package/source/angular/carousel/smart.element.ts +104 -0
  77. package/source/angular/chart/index.ts +1 -0
  78. package/source/angular/chart/public_api.ts +3 -0
  79. package/source/angular/chart/smart.chart.module.ts +12 -0
  80. package/source/angular/chart/smart.chart.ts +930 -0
  81. package/source/angular/chart/smart.element.ts +104 -0
  82. package/source/angular/checkbox/index.ts +1 -0
  83. package/source/angular/checkbox/public_api.ts +3 -0
  84. package/source/angular/checkbox/smart.checkbox.module.ts +12 -0
  85. package/source/angular/checkbox/smart.checkbox.ts +341 -0
  86. package/source/angular/checkbox/smart.element.ts +104 -0
  87. package/source/angular/checkinput/index.ts +1 -0
  88. package/source/angular/checkinput/public_api.ts +3 -0
  89. package/source/angular/checkinput/smart.checkinput.module.ts +12 -0
  90. package/source/angular/checkinput/smart.checkinput.ts +497 -0
  91. package/source/angular/checkinput/smart.element.ts +104 -0
  92. package/source/angular/chip/index.ts +1 -0
  93. package/source/angular/chip/public_api.ts +3 -0
  94. package/source/angular/chip/smart.chip.module.ts +12 -0
  95. package/source/angular/chip/smart.chip.ts +221 -0
  96. package/source/angular/chip/smart.element.ts +104 -0
  97. package/source/angular/colorinput/index.ts +1 -0
  98. package/source/angular/colorinput/public_api.ts +3 -0
  99. package/source/angular/colorinput/smart.colorinput.module.ts +12 -0
  100. package/source/angular/colorinput/smart.colorinput.ts +456 -0
  101. package/source/angular/colorinput/smart.element.ts +104 -0
  102. package/source/angular/colorpanel/index.ts +1 -0
  103. package/source/angular/colorpanel/public_api.ts +3 -0
  104. package/source/angular/colorpanel/smart.colorpanel.module.ts +12 -0
  105. package/source/angular/colorpanel/smart.colorpanel.ts +501 -0
  106. package/source/angular/colorpanel/smart.element.ts +104 -0
  107. package/source/angular/colorpicker/index.ts +1 -0
  108. package/source/angular/colorpicker/public_api.ts +3 -0
  109. package/source/angular/colorpicker/smart.colorpicker.module.ts +12 -0
  110. package/source/angular/colorpicker/smart.colorpicker.ts +756 -0
  111. package/source/angular/colorpicker/smart.element.ts +104 -0
  112. package/source/angular/columnpanel/index.ts +1 -0
  113. package/source/angular/columnpanel/public_api.ts +3 -0
  114. package/source/angular/columnpanel/smart.columnpanel.module.ts +12 -0
  115. package/source/angular/columnpanel/smart.columnpanel.ts +183 -0
  116. package/source/angular/columnpanel/smart.element.ts +104 -0
  117. package/source/angular/combobox/index.ts +1 -0
  118. package/source/angular/combobox/public_api.ts +7 -0
  119. package/source/angular/combobox/smart.combobox.module.ts +14 -0
  120. package/source/angular/combobox/smart.combobox.ts +1125 -0
  121. package/source/angular/combobox/smart.element.ts +104 -0
  122. package/source/angular/combobox/smart.listitem.ts +162 -0
  123. package/source/angular/combobox/smart.listitemsgroup.ts +72 -0
  124. package/source/angular/countryinput/index.ts +1 -0
  125. package/source/angular/countryinput/public_api.ts +3 -0
  126. package/source/angular/countryinput/smart.countryinput.module.ts +12 -0
  127. package/source/angular/countryinput/smart.countryinput.ts +391 -0
  128. package/source/angular/countryinput/smart.element.ts +104 -0
  129. package/source/angular/customizationdialog/index.ts +1 -0
  130. package/source/angular/customizationdialog/public_api.ts +3 -0
  131. package/source/angular/customizationdialog/smart.customizationdialog.module.ts +12 -0
  132. package/source/angular/customizationdialog/smart.customizationdialog.ts +311 -0
  133. package/source/angular/customizationdialog/smart.element.ts +104 -0
  134. package/source/angular/dateinput/index.ts +1 -0
  135. package/source/angular/dateinput/public_api.ts +3 -0
  136. package/source/angular/dateinput/smart.dateinput.module.ts +12 -0
  137. package/source/angular/dateinput/smart.dateinput.ts +465 -0
  138. package/source/angular/dateinput/smart.element.ts +104 -0
  139. package/source/angular/daterangeinput/index.ts +1 -0
  140. package/source/angular/daterangeinput/public_api.ts +3 -0
  141. package/source/angular/daterangeinput/smart.daterangeinput.module.ts +12 -0
  142. package/source/angular/daterangeinput/smart.daterangeinput.ts +456 -0
  143. package/source/angular/daterangeinput/smart.element.ts +104 -0
  144. package/source/angular/datetimepicker/index.ts +1 -0
  145. package/source/angular/datetimepicker/public_api.ts +3 -0
  146. package/source/angular/datetimepicker/smart.datetimepicker.module.ts +12 -0
  147. package/source/angular/datetimepicker/smart.datetimepicker.ts +835 -0
  148. package/source/angular/datetimepicker/smart.element.ts +104 -0
  149. package/source/angular/dockinglayout/index.ts +1 -0
  150. package/source/angular/dockinglayout/public_api.ts +3 -0
  151. package/source/angular/dockinglayout/smart.dockinglayout.module.ts +12 -0
  152. package/source/angular/dockinglayout/smart.dockinglayout.ts +866 -0
  153. package/source/angular/dockinglayout/smart.element.ts +104 -0
  154. package/source/angular/dropdownbutton/index.ts +1 -0
  155. package/source/angular/dropdownbutton/public_api.ts +3 -0
  156. package/source/angular/dropdownbutton/smart.dropdownbutton.module.ts +12 -0
  157. package/source/angular/dropdownbutton/smart.dropdownbutton.ts +542 -0
  158. package/source/angular/dropdownbutton/smart.element.ts +104 -0
  159. package/source/angular/dropdownlist/index.ts +1 -0
  160. package/source/angular/dropdownlist/public_api.ts +7 -0
  161. package/source/angular/dropdownlist/smart.dropdownlist.module.ts +14 -0
  162. package/source/angular/dropdownlist/smart.dropdownlist.ts +1082 -0
  163. package/source/angular/dropdownlist/smart.element.ts +104 -0
  164. package/source/angular/dropdownlist/smart.listitem.ts +162 -0
  165. package/source/angular/dropdownlist/smart.listitemsgroup.ts +72 -0
  166. package/source/angular/editor/index.ts +1 -0
  167. package/source/angular/editor/public_api.ts +3 -0
  168. package/source/angular/editor/smart.editor.module.ts +12 -0
  169. package/source/angular/editor/smart.editor.ts +1307 -0
  170. package/source/angular/editor/smart.element.ts +104 -0
  171. package/source/angular/element/index.ts +1 -0
  172. package/source/angular/element/public_api.ts +3 -0
  173. package/source/angular/element/smart.element.module.ts +10 -0
  174. package/source/angular/element/smart.element.ts +104 -0
  175. package/source/angular/fileupload/index.ts +1 -0
  176. package/source/angular/fileupload/public_api.ts +3 -0
  177. package/source/angular/fileupload/smart.element.ts +104 -0
  178. package/source/angular/fileupload/smart.fileupload.module.ts +12 -0
  179. package/source/angular/fileupload/smart.fileupload.ts +517 -0
  180. package/source/angular/filterbuilder/index.ts +1 -0
  181. package/source/angular/filterbuilder/public_api.ts +3 -0
  182. package/source/angular/filterbuilder/smart.element.ts +104 -0
  183. package/source/angular/filterbuilder/smart.filterbuilder.module.ts +12 -0
  184. package/source/angular/filterbuilder/smart.filterbuilder.ts +506 -0
  185. package/source/angular/filterpanel/index.ts +1 -0
  186. package/source/angular/filterpanel/public_api.ts +3 -0
  187. package/source/angular/filterpanel/smart.element.ts +104 -0
  188. package/source/angular/filterpanel/smart.filterpanel.module.ts +12 -0
  189. package/source/angular/filterpanel/smart.filterpanel.ts +334 -0
  190. package/source/angular/form/index.ts +1 -0
  191. package/source/angular/form/public_api.ts +7 -0
  192. package/source/angular/form/smart.element.ts +104 -0
  193. package/source/angular/form/smart.form.module.ts +14 -0
  194. package/source/angular/form/smart.form.ts +288 -0
  195. package/source/angular/form/smart.formcontrol.ts +336 -0
  196. package/source/angular/form/smart.formgroup.ts +220 -0
  197. package/source/angular/ganttchart/index.ts +1 -0
  198. package/source/angular/ganttchart/public_api.ts +3 -0
  199. package/source/angular/ganttchart/smart.element.ts +104 -0
  200. package/source/angular/ganttchart/smart.ganttchart.module.ts +12 -0
  201. package/source/angular/ganttchart/smart.ganttchart.ts +2142 -0
  202. package/source/angular/gauge/index.ts +1 -0
  203. package/source/angular/gauge/public_api.ts +3 -0
  204. package/source/angular/gauge/smart.element.ts +104 -0
  205. package/source/angular/gauge/smart.gauge.module.ts +12 -0
  206. package/source/angular/gauge/smart.gauge.ts +650 -0
  207. package/source/angular/grid/index.ts +1 -0
  208. package/source/angular/grid/public_api.ts +3 -0
  209. package/source/angular/grid/smart.element.ts +104 -0
  210. package/source/angular/grid/smart.grid.module.ts +12 -0
  211. package/source/angular/grid/smart.grid.ts +3091 -0
  212. package/source/angular/grouppanel/index.ts +1 -0
  213. package/source/angular/grouppanel/public_api.ts +3 -0
  214. package/source/angular/grouppanel/smart.element.ts +104 -0
  215. package/source/angular/grouppanel/smart.grouppanel.module.ts +12 -0
  216. package/source/angular/grouppanel/smart.grouppanel.ts +220 -0
  217. package/source/angular/index.d.ts +32978 -0
  218. package/source/angular/input/index.ts +1 -0
  219. package/source/angular/input/public_api.ts +3 -0
  220. package/source/angular/input/smart.element.ts +104 -0
  221. package/source/angular/input/smart.input.module.ts +12 -0
  222. package/source/angular/input/smart.input.ts +590 -0
  223. package/source/angular/kanban/index.ts +1 -0
  224. package/source/angular/kanban/public_api.ts +3 -0
  225. package/source/angular/kanban/smart.element.ts +104 -0
  226. package/source/angular/kanban/smart.kanban.module.ts +12 -0
  227. package/source/angular/kanban/smart.kanban.ts +1682 -0
  228. package/source/angular/layout/index.ts +1 -0
  229. package/source/angular/layout/public_api.ts +11 -0
  230. package/source/angular/layout/smart.element.ts +104 -0
  231. package/source/angular/layout/smart.layout.module.ts +16 -0
  232. package/source/angular/layout/smart.layout.ts +363 -0
  233. package/source/angular/layout/smart.layoutgroup.ts +140 -0
  234. package/source/angular/layout/smart.layoutitem.ts +129 -0
  235. package/source/angular/layout/smart.tablayoutgroup.ts +147 -0
  236. package/source/angular/layout/smart.tablayoutitem.ts +138 -0
  237. package/source/angular/led/index.ts +1 -0
  238. package/source/angular/led/public_api.ts +3 -0
  239. package/source/angular/led/smart.element.ts +104 -0
  240. package/source/angular/led/smart.led.module.ts +12 -0
  241. package/source/angular/led/smart.led.ts +280 -0
  242. package/source/angular/listbox/index.ts +1 -0
  243. package/source/angular/listbox/public_api.ts +7 -0
  244. package/source/angular/listbox/smart.element.ts +104 -0
  245. package/source/angular/listbox/smart.listbox.module.ts +14 -0
  246. package/source/angular/listbox/smart.listbox.ts +1007 -0
  247. package/source/angular/listbox/smart.listitem.ts +162 -0
  248. package/source/angular/listbox/smart.listitemsgroup.ts +72 -0
  249. package/source/angular/listmenu/index.ts +1 -0
  250. package/source/angular/listmenu/public_api.ts +7 -0
  251. package/source/angular/listmenu/smart.element.ts +104 -0
  252. package/source/angular/listmenu/smart.listmenu.module.ts +14 -0
  253. package/source/angular/listmenu/smart.listmenu.ts +597 -0
  254. package/source/angular/listmenu/smart.menuitem.ts +126 -0
  255. package/source/angular/listmenu/smart.menuitemsgroup.ts +153 -0
  256. package/source/angular/map/index.ts +1 -0
  257. package/source/angular/map/public_api.ts +3 -0
  258. package/source/angular/map/smart.element.ts +104 -0
  259. package/source/angular/map/smart.map.module.ts +12 -0
  260. package/source/angular/map/smart.map.ts +128 -0
  261. package/source/angular/maskedtextbox/index.ts +1 -0
  262. package/source/angular/maskedtextbox/public_api.ts +3 -0
  263. package/source/angular/maskedtextbox/smart.element.ts +104 -0
  264. package/source/angular/maskedtextbox/smart.maskedtextbox.module.ts +12 -0
  265. package/source/angular/maskedtextbox/smart.maskedtextbox.ts +539 -0
  266. package/source/angular/menu/index.ts +1 -0
  267. package/source/angular/menu/public_api.ts +7 -0
  268. package/source/angular/menu/smart.element.ts +104 -0
  269. package/source/angular/menu/smart.menu.module.ts +14 -0
  270. package/source/angular/menu/smart.menu.ts +695 -0
  271. package/source/angular/menu/smart.menuitem.ts +126 -0
  272. package/source/angular/menu/smart.menuitemsgroup.ts +153 -0
  273. package/source/angular/multicolumnfilterpanel/index.ts +1 -0
  274. package/source/angular/multicolumnfilterpanel/public_api.ts +3 -0
  275. package/source/angular/multicolumnfilterpanel/smart.element.ts +104 -0
  276. package/source/angular/multicolumnfilterpanel/smart.multicolumnfilterpanel.module.ts +12 -0
  277. package/source/angular/multicolumnfilterpanel/smart.multicolumnfilterpanel.ts +256 -0
  278. package/source/angular/multicomboinput/index.ts +1 -0
  279. package/source/angular/multicomboinput/public_api.ts +3 -0
  280. package/source/angular/multicomboinput/smart.element.ts +104 -0
  281. package/source/angular/multicomboinput/smart.multicomboinput.module.ts +12 -0
  282. package/source/angular/multicomboinput/smart.multicomboinput.ts +542 -0
  283. package/source/angular/multiinput/index.ts +1 -0
  284. package/source/angular/multiinput/public_api.ts +3 -0
  285. package/source/angular/multiinput/smart.element.ts +104 -0
  286. package/source/angular/multiinput/smart.multiinput.module.ts +12 -0
  287. package/source/angular/multiinput/smart.multiinput.ts +497 -0
  288. package/source/angular/multilinetextbox/index.ts +1 -0
  289. package/source/angular/multilinetextbox/public_api.ts +7 -0
  290. package/source/angular/multilinetextbox/smart.element.ts +104 -0
  291. package/source/angular/multilinetextbox/smart.listitem.ts +162 -0
  292. package/source/angular/multilinetextbox/smart.listitemsgroup.ts +72 -0
  293. package/source/angular/multilinetextbox/smart.multilinetextbox.module.ts +14 -0
  294. package/source/angular/multilinetextbox/smart.multilinetextbox.ts +561 -0
  295. package/source/angular/multisplitbutton/index.ts +1 -0
  296. package/source/angular/multisplitbutton/public_api.ts +7 -0
  297. package/source/angular/multisplitbutton/smart.element.ts +104 -0
  298. package/source/angular/multisplitbutton/smart.listitem.ts +162 -0
  299. package/source/angular/multisplitbutton/smart.listitemsgroup.ts +72 -0
  300. package/source/angular/multisplitbutton/smart.multisplitbutton.module.ts +14 -0
  301. package/source/angular/multisplitbutton/smart.multisplitbutton.ts +620 -0
  302. package/source/angular/numberinput/index.ts +1 -0
  303. package/source/angular/numberinput/public_api.ts +3 -0
  304. package/source/angular/numberinput/smart.element.ts +104 -0
  305. package/source/angular/numberinput/smart.numberinput.module.ts +12 -0
  306. package/source/angular/numberinput/smart.numberinput.ts +398 -0
  307. package/source/angular/numerictextbox/index.ts +1 -0
  308. package/source/angular/numerictextbox/public_api.ts +3 -0
  309. package/source/angular/numerictextbox/smart.element.ts +104 -0
  310. package/source/angular/numerictextbox/smart.numerictextbox.module.ts +12 -0
  311. package/source/angular/numerictextbox/smart.numerictextbox.ts +644 -0
  312. package/source/angular/pager/index.ts +1 -0
  313. package/source/angular/pager/public_api.ts +3 -0
  314. package/source/angular/pager/smart.element.ts +104 -0
  315. package/source/angular/pager/smart.pager.module.ts +12 -0
  316. package/source/angular/pager/smart.pager.ts +386 -0
  317. package/source/angular/passwordinput/index.ts +1 -0
  318. package/source/angular/passwordinput/public_api.ts +3 -0
  319. package/source/angular/passwordinput/smart.element.ts +104 -0
  320. package/source/angular/passwordinput/smart.passwordinput.module.ts +12 -0
  321. package/source/angular/passwordinput/smart.passwordinput.ts +218 -0
  322. package/source/angular/passwordtextbox/index.ts +1 -0
  323. package/source/angular/passwordtextbox/public_api.ts +3 -0
  324. package/source/angular/passwordtextbox/smart.element.ts +104 -0
  325. package/source/angular/passwordtextbox/smart.passwordtextbox.module.ts +12 -0
  326. package/source/angular/passwordtextbox/smart.passwordtextbox.ts +463 -0
  327. package/source/angular/path/index.ts +1 -0
  328. package/source/angular/path/public_api.ts +3 -0
  329. package/source/angular/path/smart.element.ts +104 -0
  330. package/source/angular/path/smart.path.module.ts +12 -0
  331. package/source/angular/path/smart.path.ts +491 -0
  332. package/source/angular/phoneinput/index.ts +1 -0
  333. package/source/angular/phoneinput/public_api.ts +3 -0
  334. package/source/angular/phoneinput/smart.element.ts +104 -0
  335. package/source/angular/phoneinput/smart.phoneinput.module.ts +12 -0
  336. package/source/angular/phoneinput/smart.phoneinput.ts +493 -0
  337. package/source/angular/pivottable/index.ts +1 -0
  338. package/source/angular/pivottable/public_api.ts +3 -0
  339. package/source/angular/pivottable/smart.element.ts +104 -0
  340. package/source/angular/pivottable/smart.pivottable.module.ts +12 -0
  341. package/source/angular/pivottable/smart.pivottable.ts +840 -0
  342. package/source/angular/progressbar/index.ts +1 -0
  343. package/source/angular/progressbar/public_api.ts +5 -0
  344. package/source/angular/progressbar/smart.circularprogressbar.ts +223 -0
  345. package/source/angular/progressbar/smart.element.ts +104 -0
  346. package/source/angular/progressbar/smart.progressbar.module.ts +13 -0
  347. package/source/angular/progressbar/smart.progressbar.ts +235 -0
  348. package/source/angular/qrcode/index.ts +1 -0
  349. package/source/angular/qrcode/public_api.ts +3 -0
  350. package/source/angular/qrcode/smart.element.ts +104 -0
  351. package/source/angular/qrcode/smart.qrcode.module.ts +12 -0
  352. package/source/angular/qrcode/smart.qrcode.ts +306 -0
  353. package/source/angular/querybuilder/index.ts +1 -0
  354. package/source/angular/querybuilder/public_api.ts +3 -0
  355. package/source/angular/querybuilder/smart.element.ts +104 -0
  356. package/source/angular/querybuilder/smart.querybuilder.module.ts +12 -0
  357. package/source/angular/querybuilder/smart.querybuilder.ts +460 -0
  358. package/source/angular/radiobutton/index.ts +1 -0
  359. package/source/angular/radiobutton/public_api.ts +3 -0
  360. package/source/angular/radiobutton/smart.element.ts +104 -0
  361. package/source/angular/radiobutton/smart.radiobutton.module.ts +12 -0
  362. package/source/angular/radiobutton/smart.radiobutton.ts +350 -0
  363. package/source/angular/rating/index.ts +1 -0
  364. package/source/angular/rating/public_api.ts +3 -0
  365. package/source/angular/rating/smart.element.ts +104 -0
  366. package/source/angular/rating/smart.rating.module.ts +12 -0
  367. package/source/angular/rating/smart.rating.ts +309 -0
  368. package/source/angular/scheduler/index.ts +1 -0
  369. package/source/angular/scheduler/public_api.ts +3 -0
  370. package/source/angular/scheduler/smart.element.ts +104 -0
  371. package/source/angular/scheduler/smart.scheduler.module.ts +12 -0
  372. package/source/angular/scheduler/smart.scheduler.ts +2328 -0
  373. package/source/angular/scrollbar/index.ts +1 -0
  374. package/source/angular/scrollbar/public_api.ts +3 -0
  375. package/source/angular/scrollbar/smart.element.ts +104 -0
  376. package/source/angular/scrollbar/smart.scrollbar.module.ts +12 -0
  377. package/source/angular/scrollbar/smart.scrollbar.ts +260 -0
  378. package/source/angular/slider/index.ts +1 -0
  379. package/source/angular/slider/public_api.ts +3 -0
  380. package/source/angular/slider/smart.element.ts +104 -0
  381. package/source/angular/slider/smart.slider.module.ts +12 -0
  382. package/source/angular/slider/smart.slider.ts +632 -0
  383. package/source/angular/sortable/index.ts +1 -0
  384. package/source/angular/sortable/public_api.ts +3 -0
  385. package/source/angular/sortable/smart.element.ts +104 -0
  386. package/source/angular/sortable/smart.sortable.module.ts +12 -0
  387. package/source/angular/sortable/smart.sortable.ts +217 -0
  388. package/source/angular/sortpanel/index.ts +1 -0
  389. package/source/angular/sortpanel/public_api.ts +3 -0
  390. package/source/angular/sortpanel/smart.element.ts +104 -0
  391. package/source/angular/sortpanel/smart.sortpanel.module.ts +12 -0
  392. package/source/angular/sortpanel/smart.sortpanel.ts +180 -0
  393. package/source/angular/splitter/index.ts +1 -0
  394. package/source/angular/splitter/public_api.ts +7 -0
  395. package/source/angular/splitter/smart.element.ts +104 -0
  396. package/source/angular/splitter/smart.splitter.module.ts +14 -0
  397. package/source/angular/splitter/smart.splitter.ts +530 -0
  398. package/source/angular/splitter/smart.splitterbar.ts +121 -0
  399. package/source/angular/splitter/smart.splitteritem.ts +192 -0
  400. package/source/angular/switchbutton/index.ts +1 -0
  401. package/source/angular/switchbutton/public_api.ts +3 -0
  402. package/source/angular/switchbutton/smart.element.ts +104 -0
  403. package/source/angular/switchbutton/smart.switchbutton.module.ts +12 -0
  404. package/source/angular/switchbutton/smart.switchbutton.ts +386 -0
  405. package/source/angular/table/index.ts +1 -0
  406. package/source/angular/table/public_api.ts +3 -0
  407. package/source/angular/table/smart.element.ts +104 -0
  408. package/source/angular/table/smart.table.module.ts +12 -0
  409. package/source/angular/table/smart.table.ts +1493 -0
  410. package/source/angular/tabs/index.ts +1 -0
  411. package/source/angular/tabs/public_api.ts +7 -0
  412. package/source/angular/tabs/smart.element.ts +104 -0
  413. package/source/angular/tabs/smart.tabitem.ts +126 -0
  414. package/source/angular/tabs/smart.tabitemsgroup.ts +81 -0
  415. package/source/angular/tabs/smart.tabs.module.ts +14 -0
  416. package/source/angular/tabs/smart.tabs.ts +622 -0
  417. package/source/angular/tank/index.ts +1 -0
  418. package/source/angular/tank/public_api.ts +3 -0
  419. package/source/angular/tank/smart.element.ts +104 -0
  420. package/source/angular/tank/smart.tank.module.ts +12 -0
  421. package/source/angular/tank/smart.tank.ts +593 -0
  422. package/source/angular/textarea/index.ts +1 -0
  423. package/source/angular/textarea/public_api.ts +3 -0
  424. package/source/angular/textarea/smart.element.ts +104 -0
  425. package/source/angular/textarea/smart.textarea.module.ts +12 -0
  426. package/source/angular/textarea/smart.textarea.ts +484 -0
  427. package/source/angular/textbox/index.ts +1 -0
  428. package/source/angular/textbox/public_api.ts +7 -0
  429. package/source/angular/textbox/smart.element.ts +104 -0
  430. package/source/angular/textbox/smart.listitem.ts +162 -0
  431. package/source/angular/textbox/smart.listitemsgroup.ts +72 -0
  432. package/source/angular/textbox/smart.textbox.module.ts +14 -0
  433. package/source/angular/textbox/smart.textbox.ts +708 -0
  434. package/source/angular/threedchart/index.ts +1 -0
  435. package/source/angular/threedchart/public_api.ts +3 -0
  436. package/source/angular/threedchart/smart.element.ts +104 -0
  437. package/source/angular/threedchart/smart.threedchart.module.ts +12 -0
  438. package/source/angular/threedchart/smart.threedchart.ts +1043 -0
  439. package/source/angular/timeinput/index.ts +1 -0
  440. package/source/angular/timeinput/public_api.ts +3 -0
  441. package/source/angular/timeinput/smart.element.ts +104 -0
  442. package/source/angular/timeinput/smart.timeinput.module.ts +12 -0
  443. package/source/angular/timeinput/smart.timeinput.ts +427 -0
  444. package/source/angular/timepicker/index.ts +1 -0
  445. package/source/angular/timepicker/public_api.ts +3 -0
  446. package/source/angular/timepicker/smart.element.ts +104 -0
  447. package/source/angular/timepicker/smart.timepicker.module.ts +12 -0
  448. package/source/angular/timepicker/smart.timepicker.ts +370 -0
  449. package/source/angular/toast/index.ts +1 -0
  450. package/source/angular/toast/public_api.ts +3 -0
  451. package/source/angular/toast/smart.element.ts +104 -0
  452. package/source/angular/toast/smart.toast.module.ts +12 -0
  453. package/source/angular/toast/smart.toast.ts +405 -0
  454. package/source/angular/tooltip/index.ts +1 -0
  455. package/source/angular/tooltip/public_api.ts +3 -0
  456. package/source/angular/tooltip/smart.element.ts +104 -0
  457. package/source/angular/tooltip/smart.tooltip.module.ts +12 -0
  458. package/source/angular/tooltip/smart.tooltip.ts +339 -0
  459. package/source/angular/tree/index.ts +1 -0
  460. package/source/angular/tree/public_api.ts +7 -0
  461. package/source/angular/tree/smart.element.ts +104 -0
  462. package/source/angular/tree/smart.tree.module.ts +14 -0
  463. package/source/angular/tree/smart.tree.ts +1042 -0
  464. package/source/angular/tree/smart.treeitem.ts +135 -0
  465. package/source/angular/tree/smart.treeitemsgroup.ts +135 -0
  466. package/source/angular/validator/index.ts +1 -0
  467. package/source/angular/validator/public_api.ts +3 -0
  468. package/source/angular/validator/smart.element.ts +104 -0
  469. package/source/angular/validator/smart.validator.module.ts +12 -0
  470. package/source/angular/validator/smart.validator.ts +124 -0
  471. package/source/angular/window/index.ts +1 -0
  472. package/source/angular/window/public_api.ts +3 -0
  473. package/source/angular/window/smart.element.ts +104 -0
  474. package/source/angular/window/smart.window.module.ts +12 -0
  475. package/source/angular/window/smart.window.ts +1180 -0
  476. package/source/components/smart.ui.chart.js +1 -1
  477. package/source/components/smart.ui.pivottable.js +1 -1
  478. package/source/modules/smart.3dchart.js +1 -1
  479. package/source/modules/smart.accordion.js +1 -1
  480. package/source/modules/smart.array.js +1 -1
  481. package/source/modules/smart.barcode.js +1 -1
  482. package/source/modules/smart.breadcrumb.js +1 -1
  483. package/source/modules/smart.button.js +1 -1
  484. package/source/modules/smart.buttongroup.js +1 -1
  485. package/source/modules/smart.calendar.js +1 -1
  486. package/source/modules/smart.card.js +1 -1
  487. package/source/modules/smart.cardview.js +1 -1
  488. package/source/modules/smart.carousel.js +1 -1
  489. package/source/modules/smart.chart.js +2 -2
  490. package/source/modules/smart.checkbox.js +1 -1
  491. package/source/modules/smart.checkinput.js +1 -1
  492. package/source/modules/smart.chip.js +1 -1
  493. package/source/modules/smart.colorinput.js +1 -1
  494. package/source/modules/smart.colorpanel.js +1 -1
  495. package/source/modules/smart.colorpicker.js +1 -1
  496. package/source/modules/smart.combobox.js +1 -1
  497. package/source/modules/smart.common.js +1 -1
  498. package/source/modules/smart.countryinput.js +1 -1
  499. package/source/modules/smart.dateinput.js +1 -1
  500. package/source/modules/smart.daterangeinput.js +1 -1
  501. package/source/modules/smart.datetimepicker.js +1 -1
  502. package/source/modules/smart.dockinglayout.js +1 -1
  503. package/source/modules/smart.dropdownbutton.js +1 -1
  504. package/source/modules/smart.dropdownlist.js +1 -1
  505. package/source/modules/smart.editor.js +1 -1
  506. package/source/modules/smart.element.js +1 -1
  507. package/source/modules/smart.fileupload.js +1 -1
  508. package/source/modules/smart.form.js +1 -1
  509. package/source/modules/smart.formulaparser.js +1 -1
  510. package/source/modules/smart.ganttchart.js +1 -1
  511. package/source/modules/smart.gauge.js +1 -1
  512. package/source/modules/smart.grid.js +1 -1
  513. package/source/modules/smart.gridpanel.js +1 -1
  514. package/source/modules/smart.input.js +1 -1
  515. package/source/modules/smart.kanban.js +1 -1
  516. package/source/modules/smart.layout.js +1 -1
  517. package/source/modules/smart.led.js +1 -1
  518. package/source/modules/smart.listbox.js +1 -1
  519. package/source/modules/smart.listmenu.js +1 -1
  520. package/source/modules/smart.map.js +1 -1
  521. package/source/modules/smart.maskedtextbox.js +1 -1
  522. package/source/modules/smart.menu.js +1 -1
  523. package/source/modules/smart.multicomboinput.js +1 -1
  524. package/source/modules/smart.multiinput.js +1 -1
  525. package/source/modules/smart.multilinetextbox.js +1 -1
  526. package/source/modules/smart.multisplitbutton.js +1 -1
  527. package/source/modules/smart.numberinput.js +1 -1
  528. package/source/modules/smart.numerictextbox.js +1 -1
  529. package/source/modules/smart.pager.js +1 -1
  530. package/source/modules/smart.passwordinput.js +1 -1
  531. package/source/modules/smart.passwordtextbox.js +1 -1
  532. package/source/modules/smart.path.js +1 -1
  533. package/source/modules/smart.phoneinput.js +1 -1
  534. package/source/modules/smart.pivottable.js +2 -2
  535. package/source/modules/smart.progressbar.js +1 -1
  536. package/source/modules/smart.qrcode.js +1 -1
  537. package/source/modules/smart.querybuilder.js +1 -1
  538. package/source/modules/smart.radiobutton.js +1 -1
  539. package/source/modules/smart.rating.js +1 -1
  540. package/source/modules/smart.router.js +1 -1
  541. package/source/modules/smart.scheduler.js +1 -1
  542. package/source/modules/smart.scrollbar.js +1 -1
  543. package/source/modules/smart.slider.js +1 -1
  544. package/source/modules/smart.sortable.js +1 -1
  545. package/source/modules/smart.splitter.js +1 -1
  546. package/source/modules/smart.switchbutton.js +1 -1
  547. package/source/modules/smart.table.js +1 -1
  548. package/source/modules/smart.tabs.js +1 -1
  549. package/source/modules/smart.tank.js +1 -1
  550. package/source/modules/smart.textarea.js +1 -1
  551. package/source/modules/smart.textbox.js +1 -1
  552. package/source/modules/smart.timeinput.js +1 -1
  553. package/source/modules/smart.timepicker.js +1 -1
  554. package/source/modules/smart.toast.js +1 -1
  555. package/source/modules/smart.tooltip.js +1 -1
  556. package/source/modules/smart.tree.js +1 -1
  557. package/source/modules/smart.validator.js +1 -1
  558. package/source/modules/smart.window.js +1 -1
  559. package/source/react/accordion/accordion.jsx +462 -0
  560. package/source/react/accordion/accordion.tsx +466 -0
  561. package/source/react/accordion/accordionitem.jsx +211 -0
  562. package/source/react/accordion/accordionitem.tsx +229 -0
  563. package/source/react/alertwindow/alertwindow.jsx +1391 -0
  564. package/source/react/alertwindow/alertwindow.tsx +1349 -0
  565. package/source/react/array/array.jsx +907 -0
  566. package/source/react/array/array.tsx +909 -0
  567. package/source/react/barcode/barcode.jsx +372 -0
  568. package/source/react/barcode/barcode.tsx +394 -0
  569. package/source/react/breadcrumb/breadcrumb.jsx +399 -0
  570. package/source/react/breadcrumb/breadcrumb.tsx +405 -0
  571. package/source/react/button/button.jsx +331 -0
  572. package/source/react/button/button.tsx +359 -0
  573. package/source/react/button/powerbutton.jsx +301 -0
  574. package/source/react/button/powerbutton.tsx +323 -0
  575. package/source/react/button/repeatbutton.jsx +325 -0
  576. package/source/react/button/repeatbutton.tsx +347 -0
  577. package/source/react/button/togglebutton.jsx +337 -0
  578. package/source/react/button/togglebutton.tsx +351 -0
  579. package/source/react/buttongroup/buttongroup.jsx +340 -0
  580. package/source/react/buttongroup/buttongroup.tsx +362 -0
  581. package/source/react/calendar/calendar.jsx +868 -0
  582. package/source/react/calendar/calendar.tsx +866 -0
  583. package/source/react/card/card.jsx +313 -0
  584. package/source/react/card/card.tsx +323 -0
  585. package/source/react/cardview/cardview.jsx +664 -0
  586. package/source/react/cardview/cardview.tsx +656 -0
  587. package/source/react/carousel/carousel.jsx +546 -0
  588. package/source/react/carousel/carousel.tsx +556 -0
  589. package/source/react/chart/chart.jsx +1014 -0
  590. package/source/react/chart/chart.tsx +996 -0
  591. package/source/react/checkbox/checkbox.jsx +361 -0
  592. package/source/react/checkbox/checkbox.tsx +375 -0
  593. package/source/react/checkinput/checkinput.jsx +566 -0
  594. package/source/react/checkinput/checkinput.tsx +588 -0
  595. package/source/react/chip/chip.jsx +329 -0
  596. package/source/react/chip/chip.tsx +351 -0
  597. package/source/react/colorinput/colorinput.jsx +516 -0
  598. package/source/react/colorinput/colorinput.tsx +538 -0
  599. package/source/react/colorpanel/colorpanel.jsx +570 -0
  600. package/source/react/colorpanel/colorpanel.tsx +580 -0
  601. package/source/react/colorpicker/colorpicker.jsx +846 -0
  602. package/source/react/colorpicker/colorpicker.tsx +824 -0
  603. package/source/react/columnpanel/columnpanel.jsx +276 -0
  604. package/source/react/columnpanel/columnpanel.tsx +294 -0
  605. package/source/react/combobox/combobox.jsx +1212 -0
  606. package/source/react/combobox/combobox.tsx +1198 -0
  607. package/source/react/combobox/listitem.jsx +279 -0
  608. package/source/react/combobox/listitem.tsx +305 -0
  609. package/source/react/combobox/listitemsgroup.jsx +159 -0
  610. package/source/react/combobox/listitemsgroup.tsx +185 -0
  611. package/source/react/countryinput/countryinput.jsx +409 -0
  612. package/source/react/countryinput/countryinput.tsx +423 -0
  613. package/source/react/customizationdialog/customizationdialog.jsx +425 -0
  614. package/source/react/customizationdialog/customizationdialog.tsx +435 -0
  615. package/source/react/dateinput/dateinput.jsx +513 -0
  616. package/source/react/dateinput/dateinput.tsx +535 -0
  617. package/source/react/daterangeinput/daterangeinput.jsx +516 -0
  618. package/source/react/daterangeinput/daterangeinput.tsx +538 -0
  619. package/source/react/datetimepicker/datetimepicker.jsx +967 -0
  620. package/source/react/datetimepicker/datetimepicker.tsx +973 -0
  621. package/source/react/dialogwindow/dialogwindow.jsx +1391 -0
  622. package/source/react/dialogwindow/dialogwindow.tsx +1349 -0
  623. package/source/react/dockinglayout/dockinglayout.jsx +923 -0
  624. package/source/react/dockinglayout/dockinglayout.tsx +925 -0
  625. package/source/react/dropdownbutton/dropdownbutton.jsx +665 -0
  626. package/source/react/dropdownbutton/dropdownbutton.tsx +659 -0
  627. package/source/react/dropdownlist/dropdownlist.jsx +1148 -0
  628. package/source/react/dropdownlist/dropdownlist.tsx +1130 -0
  629. package/source/react/dropdownlist/listitem.jsx +279 -0
  630. package/source/react/dropdownlist/listitem.tsx +305 -0
  631. package/source/react/dropdownlist/listitemsgroup.jsx +159 -0
  632. package/source/react/dropdownlist/listitemsgroup.tsx +185 -0
  633. package/source/react/editor/editor.jsx +1373 -0
  634. package/source/react/editor/editor.tsx +1287 -0
  635. package/source/react/element/element.jsx +392 -0
  636. package/source/react/element/element.tsx +410 -0
  637. package/source/react/fileupload/fileupload.jsx +643 -0
  638. package/source/react/fileupload/fileupload.tsx +641 -0
  639. package/source/react/filterbuilder/filterbuilder.jsx +608 -0
  640. package/source/react/filterbuilder/filterbuilder.tsx +594 -0
  641. package/source/react/filterpanel/filterpanel.jsx +433 -0
  642. package/source/react/filterpanel/filterpanel.tsx +447 -0
  643. package/source/react/form/form.jsx +383 -0
  644. package/source/react/form/form.tsx +413 -0
  645. package/source/react/form/formcontrol.jsx +495 -0
  646. package/source/react/form/formcontrol.tsx +521 -0
  647. package/source/react/form/formgroup.jsx +310 -0
  648. package/source/react/form/formgroup.tsx +336 -0
  649. package/source/react/ganttchart/ganttchart.jsx +2202 -0
  650. package/source/react/ganttchart/ganttchart.tsx +2116 -0
  651. package/source/react/gauge/gauge.jsx +755 -0
  652. package/source/react/gauge/gauge.tsx +777 -0
  653. package/source/react/grid/grid.jsx +2906 -0
  654. package/source/react/grid/grid.tsx +2782 -0
  655. package/source/react/grouppanel/grouppanel.jsx +313 -0
  656. package/source/react/grouppanel/grouppanel.tsx +323 -0
  657. package/source/react/input/input.jsx +626 -0
  658. package/source/react/input/input.tsx +632 -0
  659. package/source/react/kanban/kanban.jsx +1824 -0
  660. package/source/react/kanban/kanban.tsx +1736 -0
  661. package/source/react/layout/layout.jsx +449 -0
  662. package/source/react/layout/layout.tsx +451 -0
  663. package/source/react/layout/layoutgroup.jsx +233 -0
  664. package/source/react/layout/layoutgroup.tsx +259 -0
  665. package/source/react/layout/layoutitem.jsx +219 -0
  666. package/source/react/layout/layoutitem.tsx +245 -0
  667. package/source/react/layout/tablayoutgroup.jsx +243 -0
  668. package/source/react/layout/tablayoutgroup.tsx +269 -0
  669. package/source/react/layout/tablayoutitem.jsx +231 -0
  670. package/source/react/layout/tablayoutitem.tsx +257 -0
  671. package/source/react/led/led.jsx +412 -0
  672. package/source/react/led/led.tsx +434 -0
  673. package/source/react/listbox/listbox.jsx +1044 -0
  674. package/source/react/listbox/listbox.tsx +1030 -0
  675. package/source/react/listbox/listitem.jsx +279 -0
  676. package/source/react/listbox/listitem.tsx +305 -0
  677. package/source/react/listbox/listitemsgroup.jsx +159 -0
  678. package/source/react/listbox/listitemsgroup.tsx +185 -0
  679. package/source/react/listmenu/listmenu.jsx +740 -0
  680. package/source/react/listmenu/listmenu.tsx +746 -0
  681. package/source/react/listmenu/menuitem.jsx +231 -0
  682. package/source/react/listmenu/menuitem.tsx +257 -0
  683. package/source/react/listmenu/menuitemsgroup.jsx +267 -0
  684. package/source/react/listmenu/menuitemsgroup.tsx +293 -0
  685. package/source/react/map/map.jsx +233 -0
  686. package/source/react/map/map.tsx +259 -0
  687. package/source/react/maskedtextbox/maskedtextbox.jsx +617 -0
  688. package/source/react/maskedtextbox/maskedtextbox.tsx +631 -0
  689. package/source/react/menu/menu.jsx +817 -0
  690. package/source/react/menu/menu.tsx +807 -0
  691. package/source/react/menu/menuitem.jsx +231 -0
  692. package/source/react/menu/menuitem.tsx +257 -0
  693. package/source/react/menu/menuitemsgroup.jsx +267 -0
  694. package/source/react/menu/menuitemsgroup.tsx +293 -0
  695. package/source/react/multicolumnfilterpanel/multicolumnfilterpanel.jsx +361 -0
  696. package/source/react/multicolumnfilterpanel/multicolumnfilterpanel.tsx +371 -0
  697. package/source/react/multicomboinput/multicomboinput.jsx +626 -0
  698. package/source/react/multicomboinput/multicomboinput.tsx +648 -0
  699. package/source/react/multiinput/multiinput.jsx +566 -0
  700. package/source/react/multiinput/multiinput.tsx +588 -0
  701. package/source/react/multilinetextbox/listitem.jsx +279 -0
  702. package/source/react/multilinetextbox/listitem.tsx +305 -0
  703. package/source/react/multilinetextbox/listitemsgroup.jsx +159 -0
  704. package/source/react/multilinetextbox/listitemsgroup.tsx +185 -0
  705. package/source/react/multilinetextbox/multilinetextbox.jsx +638 -0
  706. package/source/react/multilinetextbox/multilinetextbox.tsx +664 -0
  707. package/source/react/multilinewindow/multilinewindow.jsx +1391 -0
  708. package/source/react/multilinewindow/multilinewindow.tsx +1349 -0
  709. package/source/react/multisplitbutton/listitem.jsx +279 -0
  710. package/source/react/multisplitbutton/listitem.tsx +305 -0
  711. package/source/react/multisplitbutton/listitemsgroup.jsx +159 -0
  712. package/source/react/multisplitbutton/listitemsgroup.tsx +185 -0
  713. package/source/react/multisplitbutton/multisplitbutton.jsx +751 -0
  714. package/source/react/multisplitbutton/multisplitbutton.tsx +745 -0
  715. package/source/react/numberinput/numberinput.jsx +413 -0
  716. package/source/react/numberinput/numberinput.tsx +435 -0
  717. package/source/react/numerictextbox/numerictextbox.jsx +721 -0
  718. package/source/react/numerictextbox/numerictextbox.tsx +719 -0
  719. package/source/react/pager/pager.jsx +524 -0
  720. package/source/react/pager/pager.tsx +542 -0
  721. package/source/react/passwordinput/passwordinput.jsx +317 -0
  722. package/source/react/passwordinput/passwordinput.tsx +335 -0
  723. package/source/react/passwordtextbox/passwordtextbox.jsx +523 -0
  724. package/source/react/passwordtextbox/passwordtextbox.tsx +541 -0
  725. package/source/react/path/path.jsx +629 -0
  726. package/source/react/path/path.tsx +623 -0
  727. package/source/react/phoneinput/phoneinput.jsx +481 -0
  728. package/source/react/phoneinput/phoneinput.tsx +495 -0
  729. package/source/react/pivottable/pivottable.jsx +990 -0
  730. package/source/react/pivottable/pivottable.tsx +980 -0
  731. package/source/react/progressbar/circularprogressbar.jsx +337 -0
  732. package/source/react/progressbar/circularprogressbar.tsx +359 -0
  733. package/source/react/progressbar/progressbar.jsx +351 -0
  734. package/source/react/progressbar/progressbar.tsx +375 -0
  735. package/source/react/progresswindow/progresswindow.jsx +1391 -0
  736. package/source/react/progresswindow/progresswindow.tsx +1349 -0
  737. package/source/react/promptwindow/promptwindow.jsx +1391 -0
  738. package/source/react/promptwindow/promptwindow.tsx +1349 -0
  739. package/source/react/qrcode/qrcode.jsx +396 -0
  740. package/source/react/qrcode/qrcode.tsx +418 -0
  741. package/source/react/querybuilder/querybuilder.jsx +589 -0
  742. package/source/react/querybuilder/querybuilder.tsx +587 -0
  743. package/source/react/radiobutton/radiobutton.jsx +373 -0
  744. package/source/react/radiobutton/radiobutton.tsx +387 -0
  745. package/source/react/rating/rating.jsx +315 -0
  746. package/source/react/rating/rating.tsx +337 -0
  747. package/source/react/scheduler/scheduler.jsx +2452 -0
  748. package/source/react/scheduler/scheduler.tsx +2336 -0
  749. package/source/react/scrollbar/scrollbar.jsx +380 -0
  750. package/source/react/scrollbar/scrollbar.tsx +402 -0
  751. package/source/react/slider/slider.jsx +731 -0
  752. package/source/react/slider/slider.tsx +753 -0
  753. package/source/react/sortable/sortable.jsx +319 -0
  754. package/source/react/sortable/sortable.tsx +341 -0
  755. package/source/react/sortpanel/sortpanel.jsx +273 -0
  756. package/source/react/sortpanel/sortpanel.tsx +291 -0
  757. package/source/react/splitter/splitter.jsx +613 -0
  758. package/source/react/splitter/splitter.tsx +627 -0
  759. package/source/react/splitter/splitterbar.jsx +205 -0
  760. package/source/react/splitter/splitterbar.tsx +231 -0
  761. package/source/react/splitter/splitteritem.jsx +288 -0
  762. package/source/react/splitter/splitteritem.tsx +314 -0
  763. package/source/react/switchbutton/switchbutton.jsx +421 -0
  764. package/source/react/switchbutton/switchbutton.tsx +435 -0
  765. package/source/react/table/table.jsx +1628 -0
  766. package/source/react/table/table.tsx +1590 -0
  767. package/source/react/tabs/tabitem.jsx +219 -0
  768. package/source/react/tabs/tabitem.tsx +245 -0
  769. package/source/react/tabs/tabitemsgroup.jsx +171 -0
  770. package/source/react/tabs/tabitemsgroup.tsx +197 -0
  771. package/source/react/tabs/tabs.jsx +720 -0
  772. package/source/react/tabs/tabs.tsx +722 -0
  773. package/source/react/tabswindow/tabswindow.jsx +1391 -0
  774. package/source/react/tabswindow/tabswindow.tsx +1349 -0
  775. package/source/react/tank/tank.jsx +680 -0
  776. package/source/react/tank/tank.tsx +702 -0
  777. package/source/react/textarea/textarea.jsx +541 -0
  778. package/source/react/textarea/textarea.tsx +559 -0
  779. package/source/react/textbox/listitem.jsx +279 -0
  780. package/source/react/textbox/listitem.tsx +305 -0
  781. package/source/react/textbox/listitemsgroup.jsx +159 -0
  782. package/source/react/textbox/listitemsgroup.tsx +185 -0
  783. package/source/react/textbox/textbox.jsx +842 -0
  784. package/source/react/textbox/textbox.tsx +864 -0
  785. package/source/react/threedchart/threedchart.jsx +1124 -0
  786. package/source/react/threedchart/threedchart.tsx +1106 -0
  787. package/source/react/timeinput/timeinput.jsx +463 -0
  788. package/source/react/timeinput/timeinput.tsx +485 -0
  789. package/source/react/timepicker/timepicker.jsx +406 -0
  790. package/source/react/timepicker/timepicker.tsx +428 -0
  791. package/source/react/toast/toast.jsx +510 -0
  792. package/source/react/toast/toast.tsx +508 -0
  793. package/source/react/tooltip/tooltip.jsx +453 -0
  794. package/source/react/tooltip/tooltip.tsx +463 -0
  795. package/source/react/tree/tree.jsx +1176 -0
  796. package/source/react/tree/tree.tsx +1158 -0
  797. package/source/react/tree/treeitem.jsx +243 -0
  798. package/source/react/tree/treeitem.tsx +269 -0
  799. package/source/react/tree/treeitemsgroup.jsx +243 -0
  800. package/source/react/tree/treeitemsgroup.tsx +269 -0
  801. package/source/react/validator/validator.jsx +202 -0
  802. package/source/react/validator/validator.tsx +228 -0
  803. package/source/react/waitwindow/waitwindow.jsx +1391 -0
  804. package/source/react/waitwindow/waitwindow.tsx +1349 -0
  805. package/source/react/window/window.jsx +1375 -0
  806. package/source/react/window/window.tsx +1349 -0
  807. package/source/smart.3dchart.js +6 -0
  808. package/source/smart.accordion.js +6 -0
  809. package/source/smart.ajax.js +5 -0
  810. package/source/smart.array.js +6 -0
  811. package/source/smart.barcode.js +6 -0
  812. package/source/smart.bootstrap.js +6 -0
  813. package/source/smart.breadcrumb.js +6 -0
  814. package/source/smart.button.js +6 -0
  815. package/source/smart.buttongroup.js +6 -0
  816. package/source/smart.calendar.js +6 -0
  817. package/source/smart.card.js +6 -0
  818. package/source/smart.cardview.js +6 -0
  819. package/source/smart.carousel.js +6 -0
  820. package/source/smart.chart.annotations.js +6 -0
  821. package/source/smart.chart.api.js +6 -0
  822. package/source/smart.chart.core.js +6 -0
  823. package/source/smart.chart.js +6 -0
  824. package/source/smart.chart.rangeselector.js +6 -0
  825. package/source/smart.chart.waterfall.js +6 -0
  826. package/source/smart.checkbox.js +6 -0
  827. package/source/smart.checkinput.js +6 -0
  828. package/source/smart.chip.js +6 -0
  829. package/source/smart.colorinput.js +6 -0
  830. package/source/smart.colorpanel.js +6 -0
  831. package/source/smart.colorpicker.js +6 -0
  832. package/source/smart.combobox.js +6 -0
  833. package/source/smart.complex.js +6 -0
  834. package/source/smart.core.js +6 -0
  835. package/source/smart.countryinput.js +6 -0
  836. package/source/smart.data.js +6 -0
  837. package/source/smart.date.js +6 -0
  838. package/source/smart.dateformatpanel.js +6 -0
  839. package/source/smart.dateinput.js +6 -0
  840. package/source/smart.daterangeinput.js +6 -0
  841. package/source/smart.datetimepicker.js +6 -0
  842. package/source/smart.dockinglayout.js +6 -0
  843. package/source/smart.draw.js +6 -0
  844. package/source/smart.dropdownbutton.js +6 -0
  845. package/source/smart.dropdownlist.js +6 -0
  846. package/source/smart.editor.js +6 -0
  847. package/source/smart.element.js +6 -0
  848. package/source/smart.elements.js +3 -3
  849. package/source/smart.export.js +6 -0
  850. package/source/smart.fileupload.js +6 -0
  851. package/source/smart.filter.js +6 -0
  852. package/source/smart.filterbuilder.js +6 -0
  853. package/source/smart.filterpanel.js +6 -0
  854. package/source/smart.form.js +6 -0
  855. package/source/smart.format.js +6 -0
  856. package/source/smart.formulaparser.js +6 -0
  857. package/source/smart.ganttchart.js +6 -0
  858. package/source/smart.gauge.js +6 -0
  859. package/source/smart.grid.cell.js +6 -0
  860. package/source/smart.grid.chart.js +6 -0
  861. package/source/smart.grid.column.js +6 -0
  862. package/source/smart.grid.core.js +6 -0
  863. package/source/smart.grid.dialog.js +6 -0
  864. package/source/smart.grid.edit.js +6 -0
  865. package/source/smart.grid.export.js +6 -0
  866. package/source/smart.grid.filter.js +6 -0
  867. package/source/smart.grid.group.js +6 -0
  868. package/source/smart.grid.js +6 -0
  869. package/source/smart.grid.menu.js +6 -0
  870. package/source/smart.grid.pager.js +6 -0
  871. package/source/smart.grid.reorder.js +6 -0
  872. package/source/smart.grid.resize.js +6 -0
  873. package/source/smart.grid.row.js +6 -0
  874. package/source/smart.grid.select.js +6 -0
  875. package/source/smart.grid.sort.js +6 -0
  876. package/source/smart.grid.toolbar.js +6 -0
  877. package/source/smart.grid.tree.js +6 -0
  878. package/source/smart.grid.view.js +6 -0
  879. package/source/smart.gridpanel.js +6 -0
  880. package/source/smart.input.js +6 -0
  881. package/source/smart.kanban.js +6 -0
  882. package/source/smart.layout.js +6 -0
  883. package/source/smart.led.js +6 -0
  884. package/source/smart.listbox.js +6 -0
  885. package/source/smart.listmenu.js +6 -0
  886. package/source/smart.map.js +6 -0
  887. package/source/smart.maskedtextbox.js +6 -0
  888. package/source/smart.math.js +6 -0
  889. package/source/smart.menu.js +6 -0
  890. package/source/smart.multicomboinput.js +6 -0
  891. package/source/smart.multiinput.js +6 -0
  892. package/source/smart.multilinetextbox.js +6 -0
  893. package/source/smart.multisplitbutton.js +6 -0
  894. package/source/smart.numberformatpanel.js +6 -0
  895. package/source/smart.numberinput.js +6 -0
  896. package/source/smart.numeric.js +6 -0
  897. package/source/smart.numerictextbox.js +6 -0
  898. package/source/smart.pager.js +6 -0
  899. package/source/smart.passwordinput.js +6 -0
  900. package/source/smart.passwordtextbox.js +6 -0
  901. package/source/smart.path.js +6 -0
  902. package/source/smart.phoneinput.js +6 -0
  903. package/source/smart.pivottable.js +6 -0
  904. package/source/smart.powerbutton.js +6 -0
  905. package/source/smart.progressbar.js +6 -0
  906. package/source/smart.qrcode.js +6 -0
  907. package/source/smart.radiobutton.js +6 -0
  908. package/source/smart.rating.js +6 -0
  909. package/source/smart.router.js +6 -0
  910. package/source/smart.scheduler.js +6 -0
  911. package/source/smart.scrollbar.js +6 -0
  912. package/source/smart.slider.js +6 -0
  913. package/source/smart.sortable.js +6 -0
  914. package/source/smart.splitter.js +6 -0
  915. package/source/smart.switchbutton.js +6 -0
  916. package/source/smart.table.js +6 -0
  917. package/source/smart.tabs.js +6 -0
  918. package/source/smart.tank.js +6 -0
  919. package/source/smart.textarea.js +6 -0
  920. package/source/smart.textbox.js +6 -0
  921. package/source/smart.tickintervalhandler.js +6 -0
  922. package/source/smart.timeinput.js +6 -0
  923. package/source/smart.timepicker.js +6 -0
  924. package/source/smart.toast.js +6 -0
  925. package/source/smart.tooltip.js +6 -0
  926. package/source/smart.tree.js +6 -0
  927. package/source/smart.validationpanel.js +6 -0
  928. package/source/smart.validator.js +6 -0
  929. package/source/smart.window.js +6 -0
@@ -0,0 +1,2782 @@
1
+ import React from "react";
2
+ import { GridProperties } from "./../../index";
3
+ import { GridAppearanceAutoGenerateRowLabelMode, GridAppearanceAutoGenerateColumnLabelMode, GridResizeMode, GridClipboardAutoFillMode, HorizontalAlignment, VerticalAlignment, Position, GridColumnFilterMenuMode, GridColumnSortOrder, GridConditionalFormattingCondition, GridDataExportPageOrientation, GridDataSourceSettingsSanitizeHTML, GridDataSourceSettingsDataFieldDataType, GridDataSourceSettingsDataSourceType, GridEditingAction, LayoutPosition, GridCommandDisplayMode, GridEditingMode, GridEditingAddNewRowDisplayMode, GridFilteringFilterRowApplyMode, GridFilteringFilterMenuMode, GridGroupingExpandMode, GridGroupingRenderMode, GridPagerAutoEllipsis, Scrolling, GridSelectionMode, GridSelectionAction, GridSelectionCheckBoxesSelectAllMode, GridSortingMode, GridSortingCommandKey, GridAppearance, GridBehavior, GridLayout, GridClipboard, GridColumn, GridContextMenu, GridContextMenuDataSource, GridCommand, GridColumnMenu, GridColumnMenuDataSource, GridColumnGroup, GridConditionalFormatting, GridCharting, Dialog, GridCheckBoxes, GridDataExport, GridDataSourceSettings, GridDataSourceSettingsDataField, GridEditing, GridEditingCommandKeys, GridCommandKey, GridEditingCommandBar, GridEditingCommandBarDataSource, GridEditingCommandColumn, GridEditingCommandColumnDataSource, GridEditingAddNewRow, GridEditingAddNewColumn, GridFiltering, GridFilteringFilterRow, GridFilteringFilterMenu, GridFilteringFilterBuilder, GridGrouping, GridGroupingGroupBar, GridGroupingSummaryRow, GridUploadSettings, GridPaging, GridPagingSpinner, GridPager, GridPagerPageSizeSelector, GridPagerSummary, GridPagerNavigationButtons, GridPagerNavigationButtonsPrevNextButtons, GridPagerNavigationButtonsFirstLastButtons, GridPagerNavigationButtonsLabels, GridPagerNavigationInput, GridPagerPageIndexSelectors, GridRowDetail, GridColumnHeader, GridSummaryRow, GridStateSettings, GridGroupHeader, GridHeader, GridFooter, GridRow, GridCell, GridSelection, GridSelectionCheckBoxes, GridSorting} from './../../index';
4
+ import { DataAdapter, Chart } from './../../index';
5
+ export { GridProperties } from "./../../index";
6
+ export { GridAppearanceAutoGenerateRowLabelMode, GridAppearanceAutoGenerateColumnLabelMode, GridResizeMode, GridClipboardAutoFillMode, HorizontalAlignment, VerticalAlignment, Position, GridColumnFilterMenuMode, GridColumnSortOrder, GridConditionalFormattingCondition, GridDataExportPageOrientation, GridDataSourceSettingsSanitizeHTML, GridDataSourceSettingsDataFieldDataType, GridDataSourceSettingsDataSourceType, GridEditingAction, LayoutPosition, GridCommandDisplayMode, GridEditingMode, GridEditingAddNewRowDisplayMode, GridFilteringFilterRowApplyMode, GridFilteringFilterMenuMode, GridGroupingExpandMode, GridGroupingRenderMode, GridPagerAutoEllipsis, Scrolling, GridSelectionMode, GridSelectionAction, GridSelectionCheckBoxesSelectAllMode, GridSortingMode, GridSortingCommandKey, GridAppearance, GridBehavior, GridLayout, GridClipboard, GridColumn, GridContextMenu, GridContextMenuDataSource, GridCommand, GridColumnMenu, GridColumnMenuDataSource, GridColumnGroup, GridConditionalFormatting, GridCharting, Dialog, GridCheckBoxes, GridDataExport, GridDataSourceSettings, GridDataSourceSettingsDataField, GridEditing, GridEditingCommandKeys, GridCommandKey, GridEditingCommandBar, GridEditingCommandBarDataSource, GridEditingCommandColumn, GridEditingCommandColumnDataSource, GridEditingAddNewRow, GridEditingAddNewColumn, GridFiltering, GridFilteringFilterRow, GridFilteringFilterMenu, GridFilteringFilterBuilder, GridGrouping, GridGroupingGroupBar, GridGroupingSummaryRow, GridUploadSettings, GridPaging, GridPagingSpinner, GridPager, GridPagerPageSizeSelector, GridPagerSummary, GridPagerNavigationButtons, GridPagerNavigationButtonsPrevNextButtons, GridPagerNavigationButtonsFirstLastButtons, GridPagerNavigationButtonsLabels, GridPagerNavigationInput, GridPagerPageIndexSelectors, GridRowDetail, GridColumnHeader, GridSummaryRow, GridStateSettings, GridGroupHeader, GridHeader, GridFooter, GridRow, GridCell, GridSelection, GridSelectionCheckBoxes, GridSorting} from './../../index';
7
+ export { DataAdapter, Chart } from './../../index';
8
+
9
+ interface IWindow { Smart: any; }
10
+ declare const window: IWindow;
11
+ export const Smart = window.Smart;
12
+ export interface GridProps extends GridProperties {
13
+ className?: string;
14
+ style?: React.CSSProperties;
15
+
16
+ onBeginEdit?: ((event?: Event) => void) | undefined;
17
+ onBatchChange?: ((event?: Event) => void) | undefined;
18
+ onBatchCancel?: ((event?: Event) => void) | undefined;
19
+ onChange?: ((event?: Event) => void) | undefined;
20
+ onColumnClick?: ((event?: Event) => void) | undefined;
21
+ onColumnDoubleClick?: ((event?: Event) => void) | undefined;
22
+ onColumnResize?: ((event?: Event) => void) | undefined;
23
+ onColumnDragStart?: ((event?: Event) => void) | undefined;
24
+ onColumnDragging?: ((event?: Event) => void) | undefined;
25
+ onColumnDragEnd?: ((event?: Event) => void) | undefined;
26
+ onColumnReorder?: ((event?: Event) => void) | undefined;
27
+ onCommentAdd?: ((event?: Event) => void) | undefined;
28
+ onCommentRemove?: ((event?: Event) => void) | undefined;
29
+ onContextMenuItemClick?: ((event?: Event) => void) | undefined;
30
+ onRowDragStart?: ((event?: Event) => void) | undefined;
31
+ onRowDragging?: ((event?: Event) => void) | undefined;
32
+ onRowDragEnd?: ((event?: Event) => void) | undefined;
33
+ onRowReorder?: ((event?: Event) => void) | undefined;
34
+ onRowExpand?: ((event?: Event) => void) | undefined;
35
+ onRowCollapse?: ((event?: Event) => void) | undefined;
36
+ onRowClick?: ((event?: Event) => void) | undefined;
37
+ onRowDoubleClick?: ((event?: Event) => void) | undefined;
38
+ onRowResize?: ((event?: Event) => void) | undefined;
39
+ onRowStarred?: ((event?: Event) => void) | undefined;
40
+ onCellClick?: ((event?: Event) => void) | undefined;
41
+ onCellDoubleClick?: ((event?: Event) => void) | undefined;
42
+ onEndEdit?: ((event?: Event) => void) | undefined;
43
+ onFilter?: ((event?: Event) => void) | undefined;
44
+ onGroup?: ((event?: Event) => void) | undefined;
45
+ onOpenColumnDialog?: ((event?: Event) => void) | undefined;
46
+ onCloseColumnDialog?: ((event?: Event) => void) | undefined;
47
+ onResize?: ((event?: Event) => void) | undefined;
48
+ onRowTap?: ((event?: Event) => void) | undefined;
49
+ onCellTap?: ((event?: Event) => void) | undefined;
50
+ onPage?: ((event?: Event) => void) | undefined;
51
+ onSort?: ((event?: Event) => void) | undefined;
52
+ onScrollBottomReached?: ((event?: Event) => void) | undefined;
53
+ onScrollTopReached?: ((event?: Event) => void) | undefined;
54
+ onCreate?: ((event?: Event) => void) | undefined;
55
+ onReady?: ((event?: Event) => void) | undefined;
56
+
57
+ }
58
+ /**
59
+ 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.
60
+ */
61
+ export class Grid extends React.Component<React.HTMLAttributes<Element> & GridProps, any> {
62
+ private _id: string;
63
+ private nativeElement: any;
64
+ private componentRef: any;
65
+
66
+ // Gets the id of the React component.
67
+ get id() {
68
+ if (!this._id) {
69
+ this._id = 'Grid' + Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);
70
+ }
71
+
72
+ return this._id;
73
+ }
74
+ /** An object containing settings related to the grid's appearance.
75
+ * Property type: GridAppearance
76
+ */
77
+ get appearance(): GridAppearance {
78
+ return this.nativeElement ? this.nativeElement.appearance : undefined;
79
+ }
80
+ set appearance(value: GridAppearance) {
81
+ if (this.nativeElement) {
82
+ this.nativeElement.appearance = value;
83
+ }
84
+ }
85
+
86
+ /** An object containing settings related to the grid's behavior.
87
+ * Property type: GridBehavior
88
+ */
89
+ get behavior(): GridBehavior {
90
+ return this.nativeElement ? this.nativeElement.behavior : undefined;
91
+ }
92
+ set behavior(value: GridBehavior) {
93
+ if (this.nativeElement) {
94
+ this.nativeElement.behavior = value;
95
+ }
96
+ }
97
+
98
+ /** An object containing settings related to the grid's layout.
99
+ * Property type: GridLayout
100
+ */
101
+ get layout(): GridLayout {
102
+ return this.nativeElement ? this.nativeElement.layout : undefined;
103
+ }
104
+ set layout(value: GridLayout) {
105
+ if (this.nativeElement) {
106
+ this.nativeElement.layout = value;
107
+ }
108
+ }
109
+
110
+ /** Sets or gets the language. Used in conjunction with the property messages.
111
+ * Property type: string
112
+ */
113
+ get locale(): string {
114
+ return this.nativeElement ? this.nativeElement.locale : undefined;
115
+ }
116
+ set locale(value: string) {
117
+ if (this.nativeElement) {
118
+ this.nativeElement.locale = value;
119
+ }
120
+ }
121
+
122
+ /** The clipboard property is used to enable/disable clipboard operations with Ctrl+C, Ctrl+X and Ctrl+V keyboard navigations..
123
+ * Property type: GridClipboard
124
+ */
125
+ get clipboard(): GridClipboard {
126
+ return this.nativeElement ? this.nativeElement.clipboard : undefined;
127
+ }
128
+ set clipboard(value: GridClipboard) {
129
+ if (this.nativeElement) {
130
+ this.nativeElement.clipboard = value;
131
+ }
132
+ }
133
+
134
+ /** The columns property is used to describe all columns displayed in the grid.
135
+ * Property type: {label: string, dataField: string}[] | string[] | number | GridColumn[]
136
+ */
137
+ get columns(): {label: string, dataField: string}[] | string[] | number | GridColumn[] {
138
+ return this.nativeElement ? this.nativeElement.columns : undefined;
139
+ }
140
+ set columns(value: {label: string, dataField: string}[] | string[] | number | GridColumn[]) {
141
+ if (this.nativeElement) {
142
+ this.nativeElement.columns = value;
143
+ }
144
+ }
145
+
146
+ /** Context Menu is the drop-down menu displayed after right-clicking a Grid row. It allows you to delete row, edit cell or row depending on the edit mode. The 'contextMenuItemCustom' dataSource option allows you to add custom menu item to the context menu. You can replace the context menu by using the 'selector' property and setting it to ID of a Smart.Menu component.
147
+ * Property type: GridContextMenu
148
+ */
149
+ get contextMenu(): GridContextMenu {
150
+ return this.nativeElement ? this.nativeElement.contextMenu : undefined;
151
+ }
152
+ set contextMenu(value: GridContextMenu) {
153
+ if (this.nativeElement) {
154
+ this.nativeElement.contextMenu = value;
155
+ }
156
+ }
157
+
158
+ /** Column Menu is the drop-down menu displayed after clicking the column header's drop-down button, which is displayed when you hover the column header. It allows you to customize column settings. For example: Sort, Filter or Group the Grid by the current column.
159
+ * Property type: GridColumnMenu
160
+ */
161
+ get columnMenu(): GridColumnMenu {
162
+ return this.nativeElement ? this.nativeElement.columnMenu : undefined;
163
+ }
164
+ set columnMenu(value: GridColumnMenu) {
165
+ if (this.nativeElement) {
166
+ this.nativeElement.columnMenu = value;
167
+ }
168
+ }
169
+
170
+ /** Describes the settings of the column groups.
171
+ * Property type: GridColumnGroup[]
172
+ */
173
+ get columnGroups(): GridColumnGroup[] {
174
+ return this.nativeElement ? this.nativeElement.columnGroups : undefined;
175
+ }
176
+ set columnGroups(value: GridColumnGroup[]) {
177
+ if (this.nativeElement) {
178
+ this.nativeElement.columnGroups = value;
179
+ }
180
+ }
181
+
182
+ /** Sets or gets details about conditional formatting to be applied to the Grid's cells.
183
+ * Property type: GridConditionalFormatting[]
184
+ */
185
+ get conditionalFormatting(): GridConditionalFormatting[] {
186
+ return this.nativeElement ? this.nativeElement.conditionalFormatting : undefined;
187
+ }
188
+ set conditionalFormatting(value: GridConditionalFormatting[]) {
189
+ if (this.nativeElement) {
190
+ this.nativeElement.conditionalFormatting = value;
191
+ }
192
+ }
193
+
194
+ /** Sets the Grid Charting Data Visualization.
195
+ * Property type: GridCharting
196
+ */
197
+ get charting(): GridCharting {
198
+ return this.nativeElement ? this.nativeElement.charting : undefined;
199
+ }
200
+ set charting(value: GridCharting) {
201
+ if (this.nativeElement) {
202
+ this.nativeElement.charting = value;
203
+ }
204
+ }
205
+
206
+ /** Sets the TreeGrid checkboxes.
207
+ * Property type: GridCheckBoxes
208
+ */
209
+ get checkBoxes(): GridCheckBoxes {
210
+ return this.nativeElement ? this.nativeElement.checkBoxes : undefined;
211
+ }
212
+ set checkBoxes(value: GridCheckBoxes) {
213
+ if (this.nativeElement) {
214
+ this.nativeElement.checkBoxes = value;
215
+ }
216
+ }
217
+
218
+ /** Sets the Grid Data Export options.
219
+ * Property type: GridDataExport
220
+ */
221
+ get dataExport(): GridDataExport {
222
+ return this.nativeElement ? this.nativeElement.dataExport : undefined;
223
+ }
224
+ set dataExport(value: GridDataExport) {
225
+ if (this.nativeElement) {
226
+ this.nativeElement.dataExport = value;
227
+ }
228
+ }
229
+
230
+ /** Sets the grid's data source. The value of dataSource can be an instance of JQX.DataAdapter or an Array.
231
+ * Property type: any
232
+ */
233
+ get dataSource(): any {
234
+ return this.nativeElement ? this.nativeElement.dataSource : undefined;
235
+ }
236
+ set dataSource(value: any) {
237
+ if (this.nativeElement) {
238
+ this.nativeElement.dataSource = value;
239
+ }
240
+ }
241
+
242
+ /** Sets the grid's data source settings when the dataSource property is set to an Array or URL.
243
+ * Property type: GridDataSourceSettings
244
+ */
245
+ get dataSourceSettings(): GridDataSourceSettings {
246
+ return this.nativeElement ? this.nativeElement.dataSourceSettings : undefined;
247
+ }
248
+ set dataSourceSettings(value: GridDataSourceSettings) {
249
+ if (this.nativeElement) {
250
+ this.nativeElement.dataSourceSettings = value;
251
+ }
252
+ }
253
+
254
+ /** Describes the grid's editing settings.
255
+ * Property type: GridEditing
256
+ */
257
+ get editing(): GridEditing {
258
+ return this.nativeElement ? this.nativeElement.editing : undefined;
259
+ }
260
+ set editing(value: GridEditing) {
261
+ if (this.nativeElement) {
262
+ this.nativeElement.editing = value;
263
+ }
264
+ }
265
+
266
+ /** Describes the grid's filtering settings.
267
+ * Property type: GridFiltering
268
+ */
269
+ get filtering(): GridFiltering {
270
+ return this.nativeElement ? this.nativeElement.filtering : undefined;
271
+ }
272
+ set filtering(value: GridFiltering) {
273
+ if (this.nativeElement) {
274
+ this.nativeElement.filtering = value;
275
+ }
276
+ }
277
+
278
+ /** Describes the grid's grouping settings.
279
+ * Property type: GridGrouping
280
+ */
281
+ get grouping(): GridGrouping {
282
+ return this.nativeElement ? this.nativeElement.grouping : undefined;
283
+ }
284
+ set grouping(value: GridGrouping) {
285
+ if (this.nativeElement) {
286
+ this.nativeElement.grouping = value;
287
+ }
288
+ }
289
+
290
+ /** Sets the messages values.
291
+ * Property type: any
292
+ */
293
+ get messages(): any {
294
+ return this.nativeElement ? this.nativeElement.messages : undefined;
295
+ }
296
+ set messages(value: any) {
297
+ if (this.nativeElement) {
298
+ this.nativeElement.messages = value;
299
+ }
300
+ }
301
+
302
+ /** Callback function(chart: JQX.Chart) called when the chart has been initialized. You can use this function to customize the Chart element settings.
303
+ * Property type: {(cell: GridCell): void}
304
+ */
305
+ get onCellValue(): {(cell: GridCell): void} {
306
+ return this.nativeElement ? this.nativeElement.onCellValue : undefined;
307
+ }
308
+ set onCellValue(value: {(cell: GridCell): void}) {
309
+ if (this.nativeElement) {
310
+ this.nativeElement.onCellValue = value;
311
+ }
312
+ }
313
+
314
+ /** Callback function() called when the grid has been rendered.
315
+ * Property type: {(cells: GridCell[], oldValues: any[], values: any[], confirm: {(commit: boolean): void}): void}
316
+ */
317
+ get onCellUpdate(): {(cells: GridCell[], oldValues: any[], values: any[], confirm: {(commit: boolean): void}): void} {
318
+ return this.nativeElement ? this.nativeElement.onCellUpdate : undefined;
319
+ }
320
+ set onCellUpdate(value: {(cells: GridCell[], oldValues: any[], values: any[], confirm: {(commit: boolean): void}): void}) {
321
+ if (this.nativeElement) {
322
+ this.nativeElement.onCellUpdate = value;
323
+ }
324
+ }
325
+
326
+ /** Callback function() called when the grid has been rendered for first time and bindings are completed. The component is ready.
327
+ * Property type: {(cell: GridCell): void}
328
+ */
329
+ get onCellRender(): {(cell: GridCell): void} {
330
+ return this.nativeElement ? this.nativeElement.onCellRender : undefined;
331
+ }
332
+ set onCellRender(value: {(cell: GridCell): void}) {
333
+ if (this.nativeElement) {
334
+ this.nativeElement.onCellRender = value;
335
+ }
336
+ }
337
+
338
+ /** Sets or gets the rows CSS class rules. Different CSS class names are conditionally applied. Example: rowCSSRules: { 'cell-class-1': settings =&gt; settings.data.quantity === 5, 'cell-class-2': settings =&gt; settings.data.quantity &lt; 5, 'cell-class-3': settings =&gt; settings.data.quantity &gt; 5 }. The settings object contains the following properties: index, data, row, api.
339
+ * Property type: {(): void}
340
+ */
341
+ get onBeforeInit(): {(): void} {
342
+ return this.nativeElement ? this.nativeElement.onBeforeInit : undefined;
343
+ }
344
+ set onBeforeInit(value: {(): void}) {
345
+ if (this.nativeElement) {
346
+ this.nativeElement.onBeforeInit = value;
347
+ }
348
+ }
349
+
350
+ /** Sets or gets the id of the current user. Has to correspond to the id of an item from the users property/array. Depending on the current user, different privileges are enabled. If no current user is set, privileges depend on the element's properties.
351
+ * Property type: {(): void}
352
+ */
353
+ get onInit(): {(): void} {
354
+ return this.nativeElement ? this.nativeElement.onInit : undefined;
355
+ }
356
+ set onInit(value: {(): void}) {
357
+ if (this.nativeElement) {
358
+ this.nativeElement.onInit = value;
359
+ }
360
+ }
361
+
362
+ /** Sets the grid users. Expects an array with 'id', 'name' and optionally 'color' and 'image' properties.
363
+ * Property type: {(): void}
364
+ */
365
+ get onAfterInit(): {(): void} {
366
+ return this.nativeElement ? this.nativeElement.onAfterInit : undefined;
367
+ }
368
+ set onAfterInit(value: {(): void}) {
369
+ if (this.nativeElement) {
370
+ this.nativeElement.onAfterInit = value;
371
+ }
372
+ }
373
+
374
+ /** Sets the grid's image and filter upload settings for the image and attachment columns.
375
+ * Property type: any
376
+ */
377
+ get onChartInit(): any {
378
+ return this.nativeElement ? this.nativeElement.onChartInit : undefined;
379
+ }
380
+ set onChartInit(value: any) {
381
+ if (this.nativeElement) {
382
+ this.nativeElement.onChartInit = value;
383
+ }
384
+ }
385
+
386
+ /** Describes the paging settings.
387
+ * Property type: any
388
+ */
389
+ get onRender(): any {
390
+ return this.nativeElement ? this.nativeElement.onRender : undefined;
391
+ }
392
+ set onRender(value: any) {
393
+ if (this.nativeElement) {
394
+ this.nativeElement.onRender = value;
395
+ }
396
+ }
397
+
398
+ /** Describes the pager settings.
399
+ * Property type: any
400
+ */
401
+ get onLoad(): any {
402
+ return this.nativeElement ? this.nativeElement.onLoad : undefined;
403
+ }
404
+ set onLoad(value: any) {
405
+ if (this.nativeElement) {
406
+ this.nativeElement.onLoad = value;
407
+ }
408
+ }
409
+
410
+ /** Sets the row details.
411
+ * Property type: {(event: KeyboardEvent): void}
412
+ */
413
+ get onKey(): {(event: KeyboardEvent): void} {
414
+ return this.nativeElement ? this.nativeElement.onKey : undefined;
415
+ }
416
+ set onKey(value: {(event: KeyboardEvent): void}) {
417
+ if (this.nativeElement) {
418
+ this.nativeElement.onKey = value;
419
+ }
420
+ }
421
+
422
+ /** Sets the scroll mode settings.
423
+ * Property type: {(index: number, row: GridRow): void}
424
+ */
425
+ get onRowInit(): {(index: number, row: GridRow): void} {
426
+ return this.nativeElement ? this.nativeElement.onRowInit : undefined;
427
+ }
428
+ set onRowInit(value: {(index: number, row: GridRow): void}) {
429
+ if (this.nativeElement) {
430
+ this.nativeElement.onRowInit = value;
431
+ }
432
+ }
433
+
434
+ /** Describes the column header settings.
435
+ * Property type: {(index: number, row: GridRow, details: HTMLElement): void}
436
+ */
437
+ get onRowDetailInit(): {(index: number, row: GridRow, details: HTMLElement): void} {
438
+ return this.nativeElement ? this.nativeElement.onRowDetailInit : undefined;
439
+ }
440
+ set onRowDetailInit(value: {(index: number, row: GridRow, details: HTMLElement): void}) {
441
+ if (this.nativeElement) {
442
+ this.nativeElement.onRowDetailInit = value;
443
+ }
444
+ }
445
+
446
+ /** Describes the summary row settings.
447
+ * Property type: {(index: number, row: GridRow, details: HTMLElement): void}
448
+ */
449
+ get onRowDetailUpdated(): {(index: number, row: GridRow, details: HTMLElement): void} {
450
+ return this.nativeElement ? this.nativeElement.onRowDetailUpdated : undefined;
451
+ }
452
+ set onRowDetailUpdated(value: {(index: number, row: GridRow, details: HTMLElement): void}) {
453
+ if (this.nativeElement) {
454
+ this.nativeElement.onRowDetailUpdated = value;
455
+ }
456
+ }
457
+
458
+ /** Sets the grid's state settings.
459
+ * Property type: {(index: number, row: GridRow, history: any[]): void}
460
+ */
461
+ get onRowHistory(): {(index: number, row: GridRow, history: any[]): void} {
462
+ return this.nativeElement ? this.nativeElement.onRowHistory : undefined;
463
+ }
464
+ set onRowHistory(value: {(index: number, row: GridRow, history: any[]): void}) {
465
+ if (this.nativeElement) {
466
+ this.nativeElement.onRowHistory = value;
467
+ }
468
+ }
469
+
470
+ /** Describes the settings for the group header.
471
+ * Property type: {(index: number, row: GridRow, history: any[]): void}
472
+ */
473
+ get onRowStyle(): {(index: number, row: GridRow, history: any[]): void} {
474
+ return this.nativeElement ? this.nativeElement.onRowStyle : undefined;
475
+ }
476
+ set onRowStyle(value: {(index: number, row: GridRow, history: any[]): void}) {
477
+ if (this.nativeElement) {
478
+ this.nativeElement.onRowStyle = value;
479
+ }
480
+ }
481
+
482
+ /** Describes the header settings of the grid.
483
+ * Property type: {(index: number[], row: GridRow[]): void}
484
+ */
485
+ get onRowInserted(): {(index: number[], row: GridRow[]): void} {
486
+ return this.nativeElement ? this.nativeElement.onRowInserted : undefined;
487
+ }
488
+ set onRowInserted(value: {(index: number[], row: GridRow[]): void}) {
489
+ if (this.nativeElement) {
490
+ this.nativeElement.onRowInserted = value;
491
+ }
492
+ }
493
+
494
+ /** Describes the footer settings of the grid.
495
+ * Property type: {(indexes: number[], rows: GridRow[]): void}
496
+ */
497
+ get onRowRemoved(): {(indexes: number[], rows: GridRow[]): void} {
498
+ return this.nativeElement ? this.nativeElement.onRowRemoved : undefined;
499
+ }
500
+ set onRowRemoved(value: {(indexes: number[], rows: GridRow[]): void}) {
501
+ if (this.nativeElement) {
502
+ this.nativeElement.onRowRemoved = value;
503
+ }
504
+ }
505
+
506
+ /** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
507
+ * Property type: {(index: number[], row: GridRow[], oldValues: any[], values: any[], confirm: {(commit: boolean): void}): void}
508
+ */
509
+ get onRowUpdate(): {(index: number[], row: GridRow[], oldValues: any[], values: any[], confirm: {(commit: boolean): void}): void} {
510
+ return this.nativeElement ? this.nativeElement.onRowUpdate : undefined;
511
+ }
512
+ set onRowUpdate(value: {(index: number[], row: GridRow[], oldValues: any[], values: any[], confirm: {(commit: boolean): void}): void}) {
513
+ if (this.nativeElement) {
514
+ this.nativeElement.onRowUpdate = value;
515
+ }
516
+ }
517
+
518
+ /** The rows property is used to describe all rows displayed in the grid.
519
+ * Property type: {(index: number[], row: GridRow[]): void}
520
+ */
521
+ get onRowUpdated(): {(index: number[], row: GridRow[]): void} {
522
+ return this.nativeElement ? this.nativeElement.onRowUpdated : undefined;
523
+ }
524
+ set onRowUpdated(value: {(index: number[], row: GridRow[]): void}) {
525
+ if (this.nativeElement) {
526
+ this.nativeElement.onRowUpdated = value;
527
+ }
528
+ }
529
+
530
+ /** Describes the selection settings.
531
+ * Property type: {(index: number, data: any, row: GridRow[]): void}
532
+ */
533
+ get onRowClass(): {(index: number, data: any, row: GridRow[]): void} {
534
+ return this.nativeElement ? this.nativeElement.onRowClass : undefined;
535
+ }
536
+ set onRowClass(value: {(index: number, data: any, row: GridRow[]): void}) {
537
+ if (this.nativeElement) {
538
+ this.nativeElement.onRowClass = value;
539
+ }
540
+ }
541
+
542
+ /** Describes sorting settings.
543
+ * Property type: {(index: number, dataField: string, cellValue: any, data: any, row: GridRow[]): void}
544
+ */
545
+ get onCellClass(): {(index: number, dataField: string, cellValue: any, data: any, row: GridRow[]): void} {
546
+ return this.nativeElement ? this.nativeElement.onCellClass : undefined;
547
+ }
548
+ set onCellClass(value: {(index: number, dataField: string, cellValue: any, data: any, row: GridRow[]): void}) {
549
+ if (this.nativeElement) {
550
+ this.nativeElement.onCellClass = value;
551
+ }
552
+ }
553
+
554
+ /** undefined
555
+ * Property type: {(index: number, column: GridColumn): void}
556
+ */
557
+ get onColumnInit(): {(index: number, column: GridColumn): void} {
558
+ return this.nativeElement ? this.nativeElement.onColumnInit : undefined;
559
+ }
560
+ set onColumnInit(value: {(index: number, column: GridColumn): void}) {
561
+ if (this.nativeElement) {
562
+ this.nativeElement.onColumnInit = value;
563
+ }
564
+ }
565
+
566
+ /** undefined
567
+ * Property type: {(index: number, column: GridColumn): void}
568
+ */
569
+ get onColumnInserted(): {(index: number, column: GridColumn): void} {
570
+ return this.nativeElement ? this.nativeElement.onColumnInserted : undefined;
571
+ }
572
+ set onColumnInserted(value: {(index: number, column: GridColumn): void}) {
573
+ if (this.nativeElement) {
574
+ this.nativeElement.onColumnInserted = value;
575
+ }
576
+ }
577
+
578
+ /** undefined
579
+ * Property type: {(index: number, column: GridColumn): void}
580
+ */
581
+ get onColumnRemoved(): {(index: number, column: GridColumn): void} {
582
+ return this.nativeElement ? this.nativeElement.onColumnRemoved : undefined;
583
+ }
584
+ set onColumnRemoved(value: {(index: number, column: GridColumn): void}) {
585
+ if (this.nativeElement) {
586
+ this.nativeElement.onColumnRemoved = value;
587
+ }
588
+ }
589
+
590
+ /** undefined
591
+ * Property type: {(index: number, column: GridColumn): void}
592
+ */
593
+ get onColumnUpdated(): {(index: number, column: GridColumn): void} {
594
+ return this.nativeElement ? this.nativeElement.onColumnUpdated : undefined;
595
+ }
596
+ set onColumnUpdated(value: {(index: number, column: GridColumn): void}) {
597
+ if (this.nativeElement) {
598
+ this.nativeElement.onColumnUpdated = value;
599
+ }
600
+ }
601
+
602
+ /** undefined
603
+ * Property type: {(dataField: string, cloneColumnDataField: string, index: number, duplicateCells: boolean): void}
604
+ */
605
+ get onColumnClone(): {(dataField: string, cloneColumnDataField: string, index: number, duplicateCells: boolean): void} {
606
+ return this.nativeElement ? this.nativeElement.onColumnClone : undefined;
607
+ }
608
+ set onColumnClone(value: {(dataField: string, cloneColumnDataField: string, index: number, duplicateCells: boolean): void}) {
609
+ if (this.nativeElement) {
610
+ this.nativeElement.onColumnClone = value;
611
+ }
612
+ }
613
+
614
+ /** undefined
615
+ * Property type: {(name: string, command: any, details: GridCell, event: Event | KeyboardEvent | PointerEvent, handled: boolean): void}
616
+ */
617
+ get onCommand(): {(name: string, command: any, details: GridCell, event: Event | KeyboardEvent | PointerEvent, handled: boolean): void} {
618
+ return this.nativeElement ? this.nativeElement.onCommand : undefined;
619
+ }
620
+ set onCommand(value: {(name: string, command: any, details: GridCell, event: Event | KeyboardEvent | PointerEvent, handled: boolean): void}) {
621
+ if (this.nativeElement) {
622
+ this.nativeElement.onCommand = value;
623
+ }
624
+ }
625
+
626
+ /** undefined
627
+ * Property type: any
628
+ */
629
+ get rowCSSRules(): any {
630
+ return this.nativeElement ? this.nativeElement.rowCSSRules : undefined;
631
+ }
632
+ set rowCSSRules(value: any) {
633
+ if (this.nativeElement) {
634
+ this.nativeElement.rowCSSRules = value;
635
+ }
636
+ }
637
+
638
+ /** undefined
639
+ * Property type: string | number
640
+ */
641
+ get currentUser(): string | number {
642
+ return this.nativeElement ? this.nativeElement.currentUser : undefined;
643
+ }
644
+ set currentUser(value: string | number) {
645
+ if (this.nativeElement) {
646
+ this.nativeElement.currentUser = value;
647
+ }
648
+ }
649
+
650
+ /** undefined
651
+ * Property type: any[]
652
+ */
653
+ get users(): any[] {
654
+ return this.nativeElement ? this.nativeElement.users : undefined;
655
+ }
656
+ set users(value: any[]) {
657
+ if (this.nativeElement) {
658
+ this.nativeElement.users = value;
659
+ }
660
+ }
661
+
662
+ /** undefined
663
+ * Property type: GridUploadSettings
664
+ */
665
+ get uploadSettings(): GridUploadSettings {
666
+ return this.nativeElement ? this.nativeElement.uploadSettings : undefined;
667
+ }
668
+ set uploadSettings(value: GridUploadSettings) {
669
+ if (this.nativeElement) {
670
+ this.nativeElement.uploadSettings = value;
671
+ }
672
+ }
673
+
674
+ /** undefined
675
+ * Property type: GridPaging
676
+ */
677
+ get paging(): GridPaging {
678
+ return this.nativeElement ? this.nativeElement.paging : undefined;
679
+ }
680
+ set paging(value: GridPaging) {
681
+ if (this.nativeElement) {
682
+ this.nativeElement.paging = value;
683
+ }
684
+ }
685
+
686
+ /** undefined
687
+ * Property type: GridPager
688
+ */
689
+ get pager(): GridPager {
690
+ return this.nativeElement ? this.nativeElement.pager : undefined;
691
+ }
692
+ set pager(value: GridPager) {
693
+ if (this.nativeElement) {
694
+ this.nativeElement.pager = value;
695
+ }
696
+ }
697
+
698
+ /** undefined
699
+ * Property type: GridRowDetail
700
+ */
701
+ get rowDetail(): GridRowDetail {
702
+ return this.nativeElement ? this.nativeElement.rowDetail : undefined;
703
+ }
704
+ set rowDetail(value: GridRowDetail) {
705
+ if (this.nativeElement) {
706
+ this.nativeElement.rowDetail = value;
707
+ }
708
+ }
709
+
710
+ /** undefined
711
+ * Property type: Scrolling | string
712
+ */
713
+ get scrolling(): Scrolling | string {
714
+ return this.nativeElement ? this.nativeElement.scrolling : undefined;
715
+ }
716
+ set scrolling(value: Scrolling | string) {
717
+ if (this.nativeElement) {
718
+ this.nativeElement.scrolling = value;
719
+ }
720
+ }
721
+
722
+ /** undefined
723
+ * Property type: GridColumnHeader
724
+ */
725
+ get columnHeader(): GridColumnHeader {
726
+ return this.nativeElement ? this.nativeElement.columnHeader : undefined;
727
+ }
728
+ set columnHeader(value: GridColumnHeader) {
729
+ if (this.nativeElement) {
730
+ this.nativeElement.columnHeader = value;
731
+ }
732
+ }
733
+
734
+ /** undefined
735
+ * Property type: GridSummaryRow
736
+ */
737
+ get summaryRow(): GridSummaryRow {
738
+ return this.nativeElement ? this.nativeElement.summaryRow : undefined;
739
+ }
740
+ set summaryRow(value: GridSummaryRow) {
741
+ if (this.nativeElement) {
742
+ this.nativeElement.summaryRow = value;
743
+ }
744
+ }
745
+
746
+ /** undefined
747
+ * Property type: GridStateSettings
748
+ */
749
+ get stateSettings(): GridStateSettings {
750
+ return this.nativeElement ? this.nativeElement.stateSettings : undefined;
751
+ }
752
+ set stateSettings(value: GridStateSettings) {
753
+ if (this.nativeElement) {
754
+ this.nativeElement.stateSettings = value;
755
+ }
756
+ }
757
+
758
+ /** undefined
759
+ * Property type: GridGroupHeader
760
+ */
761
+ get groupHeader(): GridGroupHeader {
762
+ return this.nativeElement ? this.nativeElement.groupHeader : undefined;
763
+ }
764
+ set groupHeader(value: GridGroupHeader) {
765
+ if (this.nativeElement) {
766
+ this.nativeElement.groupHeader = value;
767
+ }
768
+ }
769
+
770
+ /** undefined
771
+ * Property type: GridHeader
772
+ */
773
+ get header(): GridHeader {
774
+ return this.nativeElement ? this.nativeElement.header : undefined;
775
+ }
776
+ set header(value: GridHeader) {
777
+ if (this.nativeElement) {
778
+ this.nativeElement.header = value;
779
+ }
780
+ }
781
+
782
+ /** undefined
783
+ * Property type: GridFooter
784
+ */
785
+ get footer(): GridFooter {
786
+ return this.nativeElement ? this.nativeElement.footer : undefined;
787
+ }
788
+ set footer(value: GridFooter) {
789
+ if (this.nativeElement) {
790
+ this.nativeElement.footer = value;
791
+ }
792
+ }
793
+
794
+ /** undefined
795
+ * Property type: boolean
796
+ */
797
+ get rightToLeft(): boolean {
798
+ return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
799
+ }
800
+ set rightToLeft(value: boolean) {
801
+ if (this.nativeElement) {
802
+ this.nativeElement.rightToLeft = value;
803
+ }
804
+ }
805
+
806
+ /** undefined
807
+ * Property type: GridRow[]
808
+ */
809
+ get rows(): GridRow[] {
810
+ return this.nativeElement ? this.nativeElement.rows : undefined;
811
+ }
812
+ set rows(value: GridRow[]) {
813
+ if (this.nativeElement) {
814
+ this.nativeElement.rows = value;
815
+ }
816
+ }
817
+
818
+ /** undefined
819
+ * Property type: GridSelection
820
+ */
821
+ get selection(): GridSelection {
822
+ return this.nativeElement ? this.nativeElement.selection : undefined;
823
+ }
824
+ set selection(value: GridSelection) {
825
+ if (this.nativeElement) {
826
+ this.nativeElement.selection = value;
827
+ }
828
+ }
829
+
830
+ /** undefined
831
+ * Property type: GridSorting
832
+ */
833
+ get sorting(): GridSorting {
834
+ return this.nativeElement ? this.nativeElement.sorting : undefined;
835
+ }
836
+ set sorting(value: GridSorting) {
837
+ if (this.nativeElement) {
838
+ this.nativeElement.sorting = value;
839
+ }
840
+ }
841
+
842
+
843
+ // Gets the properties of the React component.
844
+ get properties(): string[] {
845
+ 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","stateSettings","groupHeader","header","footer","rightToLeft","rows","selection","sorting"];
846
+ }
847
+ /** This event is triggered, when the edit begins. After the event occurs, editing starts. If you need to prevent the editing for specific cells, rows or columns, you can call event.preventDefault();.
848
+ * @param event. The custom event. Custom event was created with: event.detail( id, dataField, row, column, cell, data, value)
849
+ * id - The edited row id.
850
+ * dataField - The edited column data field.
851
+ * row - The edited row.
852
+ * column - The edited column.
853
+ * cell - The edited cell.
854
+ * data - The edited row's data.
855
+ * value - The edited cell's value.
856
+ */
857
+ onBeginEdit?: ((event?: Event) => void) | undefined
858
+ /** This event is triggered, when the Grid's header toolbar is displayed and the 'OK' button of a header dropdown is clicked. For example, when you open the columns customize panel, reorder columns and click the 'OK' button.
859
+ * @param event. The custom event. Custom event was created with: event.detail( type)
860
+ * type - The type of dropdown. Possible values: 'filter', 'sort', 'search', 'group', 'format', 'customize'
861
+ */
862
+ onBatchChange?: ((event?: Event) => void) | undefined
863
+ /** This event is triggered, when the Grid's header toolbar is displayed and the 'Cancel' button of a header dropdown is clicked.
864
+ * @param event. The custom event. Custom event was created with: event.detail( type)
865
+ * type - The type of dropdown. Possible values: 'filter', 'sort', 'search', 'group', 'format', 'customize'
866
+ */
867
+ onBatchCancel?: ((event?: Event) => void) | undefined
868
+ /** This event is triggered, when the selection is changed. When you select with a drag, the event is triggered when the drag starts and ends.
869
+ * @param event. The custom event. Custom event was created with: event.detail( started, finished, originalEvent)
870
+ * started - The flag is <em>true</em>, when the selection starts. The flag is <em>false</em>, when the selection ends and when the user changes the selection by dragging.
871
+ * finished - The flag is <em>true</em>, when the selection ends. The flag is <em>false</em>, when the selection starts and when the user changes the selection by dragging.
872
+ * originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
873
+ */
874
+ onChange?: ((event?: Event) => void) | undefined
875
+ /** This event is triggered, when the user clicks on the header of a column.
876
+ * @param event. The custom event. Custom event was created with: event.detail( column, dataField, originalEvent)
877
+ * column - The clicked column.
878
+ * dataField - The column's data field.
879
+ * originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
880
+ */
881
+ onColumnClick?: ((event?: Event) => void) | undefined
882
+ /** This event is triggered, when the user double clicks on the header of a column.
883
+ * @param event. The custom event. Custom event was created with: event.detail( column, dataField, originalEvent)
884
+ * column - The double-clicked column.
885
+ * dataField - The column's data field.
886
+ * originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
887
+ */
888
+ onColumnDoubleClick?: ((event?: Event) => void) | undefined
889
+ /** This event is triggered, when the user resized a column.
890
+ * @param event. The custom event. Custom event was created with: event.detail( column, dataField, oldWidth, width)
891
+ * column - The resized column.
892
+ * dataField - The column's data field.
893
+ * oldWidth - The old width of the column.
894
+ * width - The new width of the column.
895
+ */
896
+ onColumnResize?: ((event?: Event) => void) | undefined
897
+ /** This event is triggered, when the user starts a column drag.
898
+ * @param event. The custom event. Custom event was created with: event.detail( column, dataField, index, originalEvent)
899
+ * column - The column.
900
+ * dataField - The column's data field.
901
+ * index - The column's index
902
+ * originalEvent - The origianl Event object.
903
+ */
904
+ onColumnDragStart?: ((event?: Event) => void) | undefined
905
+ /** This event is triggered, when the user drags a column.
906
+ * @param event. The custom event. Custom event was created with: event.detail( column, dataField, index, data, originalEvent)
907
+ * column - The column.
908
+ * dataField - The column's data field.
909
+ * index - The column's index
910
+ * data - The dragging object. data.feedback and data.feedbackLine are HTML Elements which are displayed while the user drags. The object has error(), success() and data() methods which you can call to set the feedback state.
911
+ * originalEvent - The origianl Event object.
912
+ */
913
+ onColumnDragging?: ((event?: Event) => void) | undefined
914
+ /** This event is triggered, when the user drops a column.
915
+ * @param event. The custom event. Custom event was created with: event.detail( column, dataField, index, newIndex, data, originalEvent)
916
+ * column - The column.
917
+ * dataField - The column's data field.
918
+ * index - The column's index
919
+ * newIndex - The column's new index
920
+ * data - The dragging object. data.feedback and data.feedbackLine are HTML Elements which are displayed while the user drags. The object has error(), success() and data() methods which you can call to set the feedback state.
921
+ * originalEvent - The origianl Event object.
922
+ */
923
+ onColumnDragEnd?: ((event?: Event) => void) | undefined
924
+ /** This event is triggered, when the user reorders a column.
925
+ * @param event. The custom event. Custom event was created with: event.detail( column, dataField, index, newIndex, data, originalEvent)
926
+ * column - The column.
927
+ * dataField - The column's data field.
928
+ * index - The column's index
929
+ * newIndex - The column's new index
930
+ * data - The dragging object. data.feedback and data.feedbackLine are HTML Elements which are displayed while the user drags. The object has error(), success() and data() methods which you can call to set the feedback state.
931
+ * originalEvent - The origianl Event object.
932
+ */
933
+ onColumnReorder?: ((event?: Event) => void) | undefined
934
+ /** This event is triggered, when the user enters a comment in the row edit dialog.
935
+ * @param event. The custom event. Custom event was created with: event.detail( id, comment)
936
+ * id - The row's id.
937
+ * comment - The comment object. The comment object has 'text: string', 'id: string', 'userId: string | number', and 'time: date' fields. The 'text' is the comment's text. 'id' is the comment's unique id, 'userId' is the user's id who entered the comment and 'time' is a javascript date object.
938
+ */
939
+ onCommentAdd?: ((event?: Event) => void) | undefined
940
+ /** This event is triggered, when the user removes a comment in the row edit dialog.
941
+ * @param event. The custom event. Custom event was created with: event.detail( id, comment)
942
+ * id - The row's id.
943
+ * comment - The comment object. The comment object has 'text: string', 'id: string', 'userId: string | number', and 'time: date' fields. The 'text' is the comment's text. 'id' is the comment's unique id, 'userId' is the user's id who entered the comment and 'time' is a javascript date object.
944
+ */
945
+ onCommentRemove?: ((event?: Event) => void) | undefined
946
+ /** This event is triggered, when the user clicks on a context menu item.
947
+ * @param event. The custom event. Custom event was created with: event.detail( id, dataField, command)
948
+ * id - The row's id.
949
+ * dataField - The column's data field.
950
+ * command - Command function.
951
+ */
952
+ onContextMenuItemClick?: ((event?: Event) => void) | undefined
953
+ /** This event is triggered, when the user starts a row drag.
954
+ * @param event. The custom event. Custom event was created with: event.detail( row, id, index, originalEvent)
955
+ * row - The row.
956
+ * id - The row's id
957
+ * index - The row's index
958
+ * originalEvent - The origianl Event object.
959
+ */
960
+ onRowDragStart?: ((event?: Event) => void) | undefined
961
+ /** This event is triggered, when the user drags a row.
962
+ * @param event. The custom event. Custom event was created with: event.detail( row, id, index, data, originalEvent)
963
+ * row - The row.
964
+ * id - The row's id
965
+ * index - The row's index
966
+ * data - The dragging object. data.feedback and data.feedbackLine are HTML Elements which are displayed while the user drags. The object has error(), success() and data() methods which you can call to set the feedback state.
967
+ * originalEvent - The origianl Event object.
968
+ */
969
+ onRowDragging?: ((event?: Event) => void) | undefined
970
+ /** This event is triggered, when the user drags a row.
971
+ * @param event. The custom event. Custom event was created with: event.detail( row, id, index, newIndex, data, originalEvent)
972
+ * row - The row.
973
+ * id - The row's id
974
+ * index - The row's index
975
+ * newIndex - The row's new index
976
+ * data - The dragging object. data.feedback and data.feedbackLine are HTML Elements which are displayed while the user drags. The object has error(), success() and data() methods which you can call to set the feedback state.
977
+ * originalEvent - The origianl Event object.
978
+ */
979
+ onRowDragEnd?: ((event?: Event) => void) | undefined
980
+ /** This event is triggered, when the user reorders a row.
981
+ * @param event. The custom event. Custom event was created with: event.detail( row, id, index, newIndex, data, originalEvent)
982
+ * row - The row.
983
+ * id - The row's id
984
+ * index - The row's index
985
+ * newIndex - The row's new index
986
+ * data - The dragging object. data.feedback and data.feedbackLine are HTML Elements which are displayed while the user drags. The object has error(), success() and data() methods which you can call to set the feedback state.
987
+ * originalEvent - The origianl Event object.
988
+ */
989
+ onRowReorder?: ((event?: Event) => void) | undefined
990
+ /** This event is triggered, when the user expands a row of the grid. The Grid is in TreeGrid/Grouping mode.
991
+ * @param event. The custom event. Custom event was created with: event.detail( row, id, originalEvent)
992
+ * row - The expanded row.
993
+ * id - The row's id
994
+ * originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
995
+ */
996
+ onRowExpand?: ((event?: Event) => void) | undefined
997
+ /** This event is triggered, when the user collapsed a row of the grid. The Grid is in TreeGrid/Grouping mode.
998
+ * @param event. The custom event. Custom event was created with: event.detail( row, id, originalEvent)
999
+ * row - The collapsed row.
1000
+ * id - The row's id
1001
+ * originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
1002
+ */
1003
+ onRowCollapse?: ((event?: Event) => void) | undefined
1004
+ /** This event is triggered, when the user clicks on a row of the grid.
1005
+ * @param event. The custom event. Custom event was created with: event.detail( row, originalEvent, id, isRightClick, pageX, pageY)
1006
+ * row - The clicked row.
1007
+ * originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
1008
+ * id - Gets the row id.
1009
+ * isRightClick - Gets whether the pointing device's right button is clicked.
1010
+ * pageX - Gets the click's X position.
1011
+ * pageY - Gets the click's Y position.
1012
+ */
1013
+ onRowClick?: ((event?: Event) => void) | undefined
1014
+ /** This event is triggered, when the user double clicks on a row of the grid.
1015
+ * @param event. The custom event. Custom event was created with: event.detail( row, originalEvent, id, isRightClick, pageX, pageY)
1016
+ * row - The double-clicked row.
1017
+ * originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
1018
+ * id - Gets the row id.
1019
+ * isRightClick - Gets whether the pointing device's right button is clicked.
1020
+ * pageX - Gets the click's X position.
1021
+ * pageY - Gets the click's Y position.
1022
+ */
1023
+ onRowDoubleClick?: ((event?: Event) => void) | undefined
1024
+ /** This event is triggered, when the user resized a row.
1025
+ * @param event. The custom event. Custom event was created with: event.detail( row, id, oldHeight, height)
1026
+ * row - The resized row.
1027
+ * id - Gets the row id.
1028
+ * oldHeight - The old height of the row.
1029
+ * height - The new height of the row.
1030
+ */
1031
+ onRowResize?: ((event?: Event) => void) | undefined
1032
+ /** This event is triggered, when the user clicks on the row header's star.
1033
+ * @param event. The custom event. Custom event was created with: event.detail( row, originalEvent, id, value)
1034
+ * row - The clicked row.
1035
+ * originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
1036
+ * id - Gets the row id.
1037
+ * value - Gets whether the row is starred or not.
1038
+ */
1039
+ onRowStarred?: ((event?: Event) => void) | undefined
1040
+ /** This event is triggered, when the user clicks on a cell of the grid.
1041
+ * @param event. The custom event. Custom event was created with: event.detail( cell, originalEvent, id, dataField, isRightClick, pageX, pageY)
1042
+ * cell - The clicked cell.
1043
+ * originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
1044
+ * id - Gets the row id.
1045
+ * dataField - Gets the column dataField.
1046
+ * isRightClick - Gets whether the pointing device's right button is clicked.
1047
+ * pageX - Gets the click's X position.
1048
+ * pageY - Gets the click's Y position.
1049
+ */
1050
+ onCellClick?: ((event?: Event) => void) | undefined
1051
+ /** This event is triggered, when the user double clicks on a cell of the grid.
1052
+ * @param event. The custom event. Custom event was created with: event.detail( cell, originalEvent, id, dataField, isRightClick, pageX, pageY)
1053
+ * cell - The double-clicked cell.
1054
+ * originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
1055
+ * id - Gets the row id.
1056
+ * dataField - Gets the column dataField.
1057
+ * isRightClick - Gets whether the pointing device's right button is clicked.
1058
+ * pageX - Gets the click's X position.
1059
+ * pageY - Gets the click's Y position.
1060
+ */
1061
+ onCellDoubleClick?: ((event?: Event) => void) | undefined
1062
+ /** This event is triggered, when the edit ends.
1063
+ * @param event. The custom event. Custom event was created with: event.detail( id, dataField, row, column, cell, data, value)
1064
+ * id - The edited row id.
1065
+ * dataField - The edited column data field.
1066
+ * row - The edited row.
1067
+ * column - The edited column.
1068
+ * cell - The edited cell.
1069
+ * data - The edited row's data.
1070
+ * value - The edited cell's value.
1071
+ */
1072
+ onEndEdit?: ((event?: Event) => void) | undefined
1073
+ /** This event is triggered, when a filter is added or removed.
1074
+ * @param event. The custom event. Custom event was created with: event.detail( columns, data, expressions)
1075
+ * columns - Array of columns.
1076
+ * data - Array of {dataField: string, filter: object}. <em>dataField</em> is the column's data field. <em>filter</em> is a FilterGroup object.
1077
+ * expressions - Array of {dataField: string, filter: string}. <em>dataField</em> is the column's data field. <em>filter</em> is a filter expression like 'startsWith B'. In each array item, you will have an object with column's name and filter string. Example: [['firstName', 'contains Andrew or contains Nancy'], ['quantity', '&lt;= 3 and &gt;= 8']], [['firstName', 'EQUAL' 'Andrew' or 'EQUAL' 'Antoni' or 'EQUAL' 'Beate']], [['lastName','CONTAINS' 'burke' or 'CONTAINS' 'peterson']]. Filter conditions used in the filter expressions: '=', 'EQUAL','&lt;&gt;', 'NOT_EQUAL', '!=', '&lt;', 'LESS_THAN','&gt;', 'GREATER_THAN', '&lt;=', 'LESS_THAN_OR_EQUAL', '&gt;=', 'GREATER_THAN_OR_EQUAL','starts with', 'STARTS_WITH','ends with', 'ENDS_WITH', '', 'EMPTY', 'CONTAINS','DOES_NOT_CONTAIN', 'NULL','NOT_NULL'
1078
+ */
1079
+ onFilter?: ((event?: Event) => void) | undefined
1080
+ /** This event is triggered, when the rows grouping is changed.
1081
+ * @param event. The custom event. Custom event was created with: event.detail( groups)
1082
+ * groups - Array of column data fields.
1083
+ */
1084
+ onGroup?: ((event?: Event) => void) | undefined
1085
+ /** This event is triggered, when the add new column dialog is opened.
1086
+ * @param event. The custom event. Custom event was created with: event.detail( dataField)
1087
+ * dataField - The column data field.
1088
+ */
1089
+ onOpenColumnDialog?: ((event?: Event) => void) | undefined
1090
+ /** This event is triggered, when the add new column dialog is closed.
1091
+ * @param event. The custom event. Custom event was created with: event.detail( dataField)
1092
+ * dataField - The column data field.
1093
+ */
1094
+ onCloseColumnDialog?: ((event?: Event) => void) | undefined
1095
+ /** This event is triggered, when the grid is resized.
1096
+ * @param event. The custom event. */
1097
+ onResize?: ((event?: Event) => void) | undefined
1098
+ /** This event is triggered when the user touches and holds on the row for at least 300ms.
1099
+ * @param event. The custom event. Custom event was created with: event.detail( row, originalEvent)
1100
+ * row - The tapped row.
1101
+ * originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
1102
+ */
1103
+ onRowTap?: ((event?: Event) => void) | undefined
1104
+ /** This event is triggered when the user touches and holds on the cell for at least 300ms.
1105
+ * @param event. The custom event. Custom event was created with: event.detail( cell, originalEvent)
1106
+ * cell - The tapped row.
1107
+ * originalEvent - The original event object, which is 'pointer', 'touch' or 'mouse' Event object, depending on the device type and web browser
1108
+ */
1109
+ onCellTap?: ((event?: Event) => void) | undefined
1110
+ /** This event is triggered, when the user changes the pages.
1111
+ * @param event. The custom event. */
1112
+ onPage?: ((event?: Event) => void) | undefined
1113
+ /** This event is triggered, when a sorting column is added or removed.
1114
+ * @param event. The custom event. Custom event was created with: event.detail( columns, data, sortDataFields, sortDataTypes, sortOrders, sortIndexes)
1115
+ * columns - Array of columns.
1116
+ * data - Array of {dataField: string, sortOrder: string, sortIndex: number}. <em>dataField</em> is the column's data field. <em>sortOrder</em> is 'asc' or 'desc', <em>sortIndex</em> is the index of the column in multi column sorting.
1117
+ * sortDataFields - Array of column data fields.
1118
+ * sortDataTypes - Array of column data types. The values in the array would be 'string', 'date', 'boolean' or 'number'.
1119
+ * sortOrders - Array of column orders. The values in the array would be 'asc' or 'desc'.
1120
+ * sortIndexes - Array of column sort indexes. When multiple sorting is applied the sort index is an important parameter as it specifies the priority of sorting.
1121
+ */
1122
+ onSort?: ((event?: Event) => void) | undefined
1123
+ /** This event is triggered, when the user reaches the bottom of the grid.
1124
+ * @param event. The custom event. */
1125
+ onScrollBottomReached?: ((event?: Event) => void) | undefined
1126
+ /** This event is triggered, when the user reaches the top of the grid.
1127
+ * @param event. The custom event. */
1128
+ onScrollTopReached?: ((event?: Event) => void) | undefined
1129
+ /** This event occurs, when the React component is created.
1130
+ * @param event. The custom event. */
1131
+ onCreate?: ((event?: Event) => void) | undefined
1132
+ /** This event occurs, when the React component is completely rendered.
1133
+ * @param event. The custom event. */
1134
+ onReady?: ((event?: Event) => void) | undefined
1135
+
1136
+ // Gets the events of the React component.
1137
+ get eventListeners(): string[] {
1138
+ return ["onBeginEdit","onBatchChange","onBatchCancel","onChange","onColumnClick","onColumnDoubleClick","onColumnResize","onColumnDragStart","onColumnDragging","onColumnDragEnd","onColumnReorder","onCommentAdd","onCommentRemove","onContextMenuItemClick","onRowDragStart","onRowDragging","onRowDragEnd","onRowReorder","onRowExpand","onRowCollapse","onRowClick","onRowDoubleClick","onRowResize","onRowStarred","onCellClick","onCellDoubleClick","onEndEdit","onFilter","onGroup","onOpenColumnDialog","onCloseColumnDialog","onResize","onRowTap","onCellTap","onPage","onSort","onScrollBottomReached","onScrollTopReached","onCreate","onReady"];
1139
+ }
1140
+ /** Adds a row. When batch editing is enabled, the row is not saved until the batch edit is saved.
1141
+ * @param {any} data. row data matching the data source
1142
+ * @param {boolean} insertAtBottom?. Determines whether to add the new row to the bottom or top of the collection. The default value is 'true'
1143
+ * @param {{(row: GridRow): void}} callback?. Sets a callback function, which is called after the new row is added. The callback's argument is the new row.
1144
+ */
1145
+ public addRow(data: any, insertAtBottom?: boolean, callback?: {(row: GridRow): void}): void {
1146
+ if (this.nativeElement.isRendered) {
1147
+ this.nativeElement.addRow(data, insertAtBottom, callback);
1148
+ }
1149
+ else
1150
+ {
1151
+ this.nativeElement.whenRendered(() => {
1152
+ this.nativeElement.addRow(data, insertAtBottom, callback);
1153
+ });
1154
+ }
1155
+ }
1156
+
1157
+ /** Adds a new row and puts it into edit mode. When batch editing is enabled, the row is not saved until the batch edit is saved.
1158
+ * @param {string} position?. 'near' or 'far'
1159
+ * @returns {boolean}
1160
+ */
1161
+ public addNewRow(position?:string) : any {
1162
+ const result: any = this.nativeElement.addNewRow(position);
1163
+ return result;
1164
+ }
1165
+
1166
+ /** Adds a new column.
1167
+ * @param {any} column. A Grid column object. See 'columns' property.
1168
+ * @returns {boolean}
1169
+ */
1170
+ public addNewColumn(column:any) : any {
1171
+ const result: any = this.nativeElement.addNewColumn(column);
1172
+ return result;
1173
+ }
1174
+
1175
+ /** 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.
1176
+ * @param {number} count. The count of unbound rows.
1177
+ * @param {string} position?. 'near' or 'far'
1178
+ * @returns {boolean}
1179
+ */
1180
+ public addUnboundRow(count:number, position?:string) : any {
1181
+ const result: any = this.nativeElement.addUnboundRow(count, position);
1182
+ return result;
1183
+ }
1184
+
1185
+ /** 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', '&lt;= 5')
1186
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
1187
+ * @param {string} filter. Filter expression like: 'startsWith B'. Example 2: ['contains Andrew or contains Nancy'], Example 3: ['quantity', '&lt;= 3 and &gt;= 8']. Filter conditions which you can use in the expressions: '=', 'EQUAL','&lt;&gt;', 'NOT_EQUAL', '!=', '&lt;', 'LESS_THAN','&gt;', 'GREATER_THAN', '&lt;=', 'LESS_THAN_OR_EQUAL', '&gt;=', 'GREATER_THAN_OR_EQUAL','starts with', 'STARTS_WITH','ends with', 'ENDS_WITH', '', 'EMPTY', 'CONTAINS','DOES_NOT_CONTAIN', 'NULL','NOT_NULL'
1188
+ * @param {boolean} refreshFilters?. Set this to false, if you will use multiple 'addFilter' calls. By doing this, you will avoid unnecessary renders.
1189
+ */
1190
+ public addFilter(dataField: string, filter: string, refreshFilters?: boolean): void {
1191
+ if (this.nativeElement.isRendered) {
1192
+ this.nativeElement.addFilter(dataField, filter, refreshFilters);
1193
+ }
1194
+ else
1195
+ {
1196
+ this.nativeElement.whenRendered(() => {
1197
+ this.nativeElement.addFilter(dataField, filter, refreshFilters);
1198
+ });
1199
+ }
1200
+ }
1201
+
1202
+ /** Groups the Grid by a data field. This method will add a group to the Grid when grouping is enabled.
1203
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
1204
+ */
1205
+ public addGroup(dataField: string): void {
1206
+ if (this.nativeElement.isRendered) {
1207
+ this.nativeElement.addGroup(dataField);
1208
+ }
1209
+ else
1210
+ {
1211
+ this.nativeElement.whenRendered(() => {
1212
+ this.nativeElement.addGroup(dataField);
1213
+ });
1214
+ }
1215
+ }
1216
+
1217
+ /** Sorts the Grid by a data field. This method will add a sorting to the Grid when sorting is enabled.
1218
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
1219
+ * @param {string} sortOrder. column's sort order. Use 'asc' or 'desc'.
1220
+ */
1221
+ public addSort(dataField: string, sortOrder: string): void {
1222
+ if (this.nativeElement.isRendered) {
1223
+ this.nativeElement.addSort(dataField, sortOrder);
1224
+ }
1225
+ else
1226
+ {
1227
+ this.nativeElement.whenRendered(() => {
1228
+ this.nativeElement.addSort(dataField, sortOrder);
1229
+ });
1230
+ }
1231
+ }
1232
+
1233
+ /** Auto-sizes grid rows. This method will update the height of all Grid rows.
1234
+ */
1235
+ public autoSizeRows(): void {
1236
+ if (this.nativeElement.isRendered) {
1237
+ this.nativeElement.autoSizeRows();
1238
+ }
1239
+ else
1240
+ {
1241
+ this.nativeElement.whenRendered(() => {
1242
+ this.nativeElement.autoSizeRows();
1243
+ });
1244
+ }
1245
+ }
1246
+
1247
+ /** Auto-sizes grid columns. This method will update the width of all Grid columns.
1248
+ */
1249
+ public autoSizeColumns(): void {
1250
+ if (this.nativeElement.isRendered) {
1251
+ this.nativeElement.autoSizeColumns();
1252
+ }
1253
+ else
1254
+ {
1255
+ this.nativeElement.whenRendered(() => {
1256
+ this.nativeElement.autoSizeColumns();
1257
+ });
1258
+ }
1259
+ }
1260
+
1261
+ /** Auto-sizes grid column. This method will update the width of a Grid column by measuring the cells and column header label width.
1262
+ * @param {string} dataField?. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
1263
+ */
1264
+ public autoSizeColumn(dataField?: string): void {
1265
+ if (this.nativeElement.isRendered) {
1266
+ this.nativeElement.autoSizeColumn(dataField);
1267
+ }
1268
+ else
1269
+ {
1270
+ this.nativeElement.whenRendered(() => {
1271
+ this.nativeElement.autoSizeColumn(dataField);
1272
+ });
1273
+ }
1274
+ }
1275
+
1276
+ /** This method returns true, if all rows in the Grid are selected.
1277
+ * @returns {boolean}
1278
+ */
1279
+ public areAllRowsSelected() : any {
1280
+ const result: any = this.nativeElement.areAllRowsSelected();
1281
+ return result;
1282
+ }
1283
+
1284
+ /** Starts an update operation. This is appropriate when calling multiple methods or set multiple properties at once.
1285
+ */
1286
+ public beginUpdate(): void {
1287
+ if (this.nativeElement.isRendered) {
1288
+ this.nativeElement.beginUpdate();
1289
+ }
1290
+ else
1291
+ {
1292
+ this.nativeElement.whenRendered(() => {
1293
+ this.nativeElement.beginUpdate();
1294
+ });
1295
+ }
1296
+ }
1297
+
1298
+ /** Begins row, cell or column. This method allows you to programmatically start a cell, row or column editing. After calling it, an editor HTMLElement will be created and displayed in the Grid.
1299
+ * @param {string | number} rowId. row bound id
1300
+ * @param {string} dataField?. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
1301
+ */
1302
+ public beginEdit(rowId: string | number, dataField?: string): void {
1303
+ if (this.nativeElement.isRendered) {
1304
+ this.nativeElement.beginEdit(rowId, dataField);
1305
+ }
1306
+ else
1307
+ {
1308
+ this.nativeElement.whenRendered(() => {
1309
+ this.nativeElement.beginEdit(rowId, dataField);
1310
+ });
1311
+ }
1312
+ }
1313
+
1314
+ /** Clears all filters. Refreshes the view and updates all filter input components.
1315
+ */
1316
+ public clearFilter(): void {
1317
+ if (this.nativeElement.isRendered) {
1318
+ this.nativeElement.clearFilter();
1319
+ }
1320
+ else
1321
+ {
1322
+ this.nativeElement.whenRendered(() => {
1323
+ this.nativeElement.clearFilter();
1324
+ });
1325
+ }
1326
+ }
1327
+
1328
+ /** Clears all data groups. Refreshes the view and updates the DataGrid component.
1329
+ */
1330
+ public clearGroups(): void {
1331
+ if (this.nativeElement.isRendered) {
1332
+ this.nativeElement.clearGroups();
1333
+ }
1334
+ else
1335
+ {
1336
+ this.nativeElement.whenRendered(() => {
1337
+ this.nativeElement.clearGroups();
1338
+ });
1339
+ }
1340
+ }
1341
+
1342
+ /** Clears all sorting. Refreshes the view and updates the DataGrid component.
1343
+ */
1344
+ public clearSort(): void {
1345
+ if (this.nativeElement.isRendered) {
1346
+ this.nativeElement.clearSort();
1347
+ }
1348
+ else
1349
+ {
1350
+ this.nativeElement.whenRendered(() => {
1351
+ this.nativeElement.clearSort();
1352
+ });
1353
+ }
1354
+ }
1355
+
1356
+ /** Clears the selection that user have made. All row, cell and column selection highlights will be removed.
1357
+ */
1358
+ public clearSelection(): void {
1359
+ if (this.nativeElement.isRendered) {
1360
+ this.nativeElement.clearSelection();
1361
+ }
1362
+ else
1363
+ {
1364
+ this.nativeElement.whenRendered(() => {
1365
+ this.nativeElement.clearSelection();
1366
+ });
1367
+ }
1368
+ }
1369
+
1370
+ /** Cancels the editing. This method closes the cell editor and cancels the changes.
1371
+ */
1372
+ public cancelEdit(): void {
1373
+ if (this.nativeElement.isRendered) {
1374
+ this.nativeElement.cancelEdit();
1375
+ }
1376
+ else
1377
+ {
1378
+ this.nativeElement.whenRendered(() => {
1379
+ this.nativeElement.cancelEdit();
1380
+ });
1381
+ }
1382
+ }
1383
+
1384
+ /** Checks a TreeGrid row. This method updates the row's check-box.
1385
+ * @param {string | number} rowId. row bound id
1386
+ */
1387
+ public checkRow(rowId: string | number): void {
1388
+ if (this.nativeElement.isRendered) {
1389
+ this.nativeElement.checkRow(rowId);
1390
+ }
1391
+ else
1392
+ {
1393
+ this.nativeElement.whenRendered(() => {
1394
+ this.nativeElement.checkRow(rowId);
1395
+ });
1396
+ }
1397
+ }
1398
+
1399
+ /** Checks all TreeGrid or Grouping rows. This method updates all check-boxes in the TreeGrid or Grouping rows.
1400
+ */
1401
+ public checkAllRows(): void {
1402
+ if (this.nativeElement.isRendered) {
1403
+ this.nativeElement.checkAllRows();
1404
+ }
1405
+ else
1406
+ {
1407
+ this.nativeElement.whenRendered(() => {
1408
+ this.nativeElement.checkAllRows();
1409
+ });
1410
+ }
1411
+ }
1412
+
1413
+ /** Clears the user selection and empties the data source. The Grid will display 'No Rows' in the view.
1414
+ */
1415
+ public clearRows(): void {
1416
+ if (this.nativeElement.isRendered) {
1417
+ this.nativeElement.clearRows();
1418
+ }
1419
+ else
1420
+ {
1421
+ this.nativeElement.whenRendered(() => {
1422
+ this.nativeElement.clearRows();
1423
+ });
1424
+ }
1425
+ }
1426
+
1427
+ /** Closes the column drop-down menu.
1428
+ */
1429
+ public closeMenu(): void {
1430
+ if (this.nativeElement.isRendered) {
1431
+ this.nativeElement.closeMenu();
1432
+ }
1433
+ else
1434
+ {
1435
+ this.nativeElement.whenRendered(() => {
1436
+ this.nativeElement.closeMenu();
1437
+ });
1438
+ }
1439
+ }
1440
+
1441
+ /** Collapses a TreeGrid or Grouping row.
1442
+ * @param {string | number} rowId. row bound id
1443
+ */
1444
+ public collapseRow(rowId: string | number): void {
1445
+ if (this.nativeElement.isRendered) {
1446
+ this.nativeElement.collapseRow(rowId);
1447
+ }
1448
+ else
1449
+ {
1450
+ this.nativeElement.whenRendered(() => {
1451
+ this.nativeElement.collapseRow(rowId);
1452
+ });
1453
+ }
1454
+ }
1455
+
1456
+ /** Collapses all TreeGrid or Grouping rows.
1457
+ */
1458
+ public collapseAllRows(): void {
1459
+ if (this.nativeElement.isRendered) {
1460
+ this.nativeElement.collapseAllRows();
1461
+ }
1462
+ else
1463
+ {
1464
+ this.nativeElement.whenRendered(() => {
1465
+ this.nativeElement.collapseAllRows();
1466
+ });
1467
+ }
1468
+ }
1469
+
1470
+ /** Creates a Chart, when charting is enabled.
1471
+ * @param {string} type. Chart's type
1472
+ * @param {any} dataSource?. Chart's data source
1473
+ */
1474
+ public createChart(type: string, dataSource?: any): void {
1475
+ if (this.nativeElement.isRendered) {
1476
+ this.nativeElement.createChart(type, dataSource);
1477
+ }
1478
+ else
1479
+ {
1480
+ this.nativeElement.whenRendered(() => {
1481
+ this.nativeElement.createChart(type, dataSource);
1482
+ });
1483
+ }
1484
+ }
1485
+
1486
+ /** Delete a row. When batch editing is enabled, the row is not saved until the batch edit is saved.
1487
+ * @param {string | number} rowId. row bound id
1488
+ * @param {{(row: GridRow): void}} callback?. Sets a callback function, which is called after the row is deleted. The callback's argument is the deleted row.
1489
+ */
1490
+ public deleteRow(rowId: string | number, callback?: {(row: GridRow): void}): void {
1491
+ if (this.nativeElement.isRendered) {
1492
+ this.nativeElement.deleteRow(rowId, callback);
1493
+ }
1494
+ else
1495
+ {
1496
+ this.nativeElement.whenRendered(() => {
1497
+ this.nativeElement.deleteRow(rowId, callback);
1498
+ });
1499
+ }
1500
+ }
1501
+
1502
+ /** Scrolls to a row or cell. This method scrolls to a row or cell, when scrolling is necessary. If pagination is enabled, it will automatically change the page.
1503
+ * @param {string | number} rowId. row bound id
1504
+ * @param {string} dataField?. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
1505
+ * @returns {boolean}
1506
+ */
1507
+ public ensureVisible(rowId:string | number, dataField?:string) : any {
1508
+ const result: any = this.nativeElement.ensureVisible(rowId, dataField);
1509
+ return result;
1510
+ }
1511
+
1512
+ /** Ends the editing. This method confirms all changes and closes the opened cell editor(s).
1513
+ */
1514
+ public endEdit(): void {
1515
+ if (this.nativeElement.isRendered) {
1516
+ this.nativeElement.endEdit();
1517
+ }
1518
+ else
1519
+ {
1520
+ this.nativeElement.whenRendered(() => {
1521
+ this.nativeElement.endEdit();
1522
+ });
1523
+ }
1524
+ }
1525
+
1526
+ /** Ends the update operation. This method will resume the rendering and will refresh the Grid.
1527
+ * @param {boolean} refresh?. The flag that control the calls of the refresh method.
1528
+ */
1529
+ public endUpdate(refresh?: boolean): void {
1530
+ if (this.nativeElement.isRendered) {
1531
+ this.nativeElement.endUpdate(refresh);
1532
+ }
1533
+ else
1534
+ {
1535
+ this.nativeElement.whenRendered(() => {
1536
+ this.nativeElement.endUpdate(refresh);
1537
+ });
1538
+ }
1539
+ }
1540
+
1541
+ /** Expands a TreeGrid or Grouping row. For example, if you want to expand the first group, then its second sub grup, then the first sub sub group, you can use: grid.expandRow('0.1.0');
1542
+ * @param {string | number} rowId. row bound id
1543
+ */
1544
+ public expandRow(rowId: string | number): void {
1545
+ if (this.nativeElement.isRendered) {
1546
+ this.nativeElement.expandRow(rowId);
1547
+ }
1548
+ else
1549
+ {
1550
+ this.nativeElement.whenRendered(() => {
1551
+ this.nativeElement.expandRow(rowId);
1552
+ });
1553
+ }
1554
+ }
1555
+
1556
+ /** Expands rows to a given group level. For example 'grid.expandRowsToGroupLevel(1);' means that all groups at the root level will be expanded.
1557
+ * @param {number} level. row group level
1558
+ */
1559
+ public expandRowsToGroupLevel(level: number): void {
1560
+ if (this.nativeElement.isRendered) {
1561
+ this.nativeElement.expandRowsToGroupLevel(level);
1562
+ }
1563
+ else
1564
+ {
1565
+ this.nativeElement.whenRendered(() => {
1566
+ this.nativeElement.expandRowsToGroupLevel(level);
1567
+ });
1568
+ }
1569
+ }
1570
+
1571
+ /** Expands all TreeGrid or Grouping rows.
1572
+ */
1573
+ public expandAllRows(): void {
1574
+ if (this.nativeElement.isRendered) {
1575
+ this.nativeElement.expandAllRows();
1576
+ }
1577
+ else
1578
+ {
1579
+ this.nativeElement.whenRendered(() => {
1580
+ this.nativeElement.expandAllRows();
1581
+ });
1582
+ }
1583
+ }
1584
+
1585
+ /** Exports the Grid data to .XLSX, .PDF, .JSON, .XML, .CSV, .TSV, .HTML, .JPEG or .PNG. The method uses the options of the dataExport property.
1586
+ * @param {string} Dataformat. 'xlsx', 'pdf', 'json', 'xml', 'csv', 'tsv', 'html', 'png', 'jpeg'.
1587
+ */
1588
+ public exportData(Dataformat: string): void {
1589
+ if (this.nativeElement.isRendered) {
1590
+ this.nativeElement.exportData(Dataformat);
1591
+ }
1592
+ else
1593
+ {
1594
+ this.nativeElement.whenRendered(() => {
1595
+ this.nativeElement.exportData(Dataformat);
1596
+ });
1597
+ }
1598
+ }
1599
+
1600
+ /** Finds entries by using a query and returns an array of row ids. Example: const rows = grid.find('nancy'); returns all rows that have 'nancy' value. Example 2: const rows = grid.find('nancy, davolio'); returns all rows that have 'nancy' and 'davolio' values in the same row. Example 3: const rows = grid.find(5, 'quantity', '>'); returns all rows where the value of the 'quantity' field is > 5.
1601
+ * @param {string} query. Search query
1602
+ * @param {string} dataField?. Column data field.
1603
+ * @param {string} condition?. Conditions which you can use in the expressions: '=', 'EQUAL','&lt;&gt;', 'NOT_EQUAL', '!=', '&lt;', 'LESS_THAN','&gt;', 'GREATER_THAN', '&lt;=', 'LESS_THAN_OR_EQUAL', '&gt;=', 'GREATER_THAN_OR_EQUAL','starts with', 'STARTS_WITH','ends with', 'ENDS_WITH', '', 'EMPTY', 'CONTAINS','DOES_NOT_CONTAIN', 'NULL','NOT_NULL'
1604
+ * @returns {any[]}
1605
+ */
1606
+ public find(query:string, dataField?:string, condition?:string) : any {
1607
+ const result: any = this.nativeElement.find(query, dataField, condition);
1608
+ return result;
1609
+ }
1610
+
1611
+ /** 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.
1612
+ * @param {string} query. Search query. You can enter multiple search strings, by using ','. Example: 'nancy, davolio'
1613
+ * @returns {any[]}
1614
+ */
1615
+ public findCells(query:string) : any {
1616
+ const result: any = this.nativeElement.findCells(query);
1617
+ return result;
1618
+ }
1619
+
1620
+ /** Navigates to a page, when paging is enabled.
1621
+ * @param {number} index. page index
1622
+ */
1623
+ public goToPage(index: number): void {
1624
+ if (this.nativeElement.isRendered) {
1625
+ this.nativeElement.goToPage(index);
1626
+ }
1627
+ else
1628
+ {
1629
+ this.nativeElement.whenRendered(() => {
1630
+ this.nativeElement.goToPage(index);
1631
+ });
1632
+ }
1633
+ }
1634
+
1635
+ /** Navigates to the next page, when grid paging is enabled.
1636
+ */
1637
+ public nextPage(): void {
1638
+ if (this.nativeElement.isRendered) {
1639
+ this.nativeElement.nextPage();
1640
+ }
1641
+ else
1642
+ {
1643
+ this.nativeElement.whenRendered(() => {
1644
+ this.nativeElement.nextPage();
1645
+ });
1646
+ }
1647
+ }
1648
+
1649
+ /** Navigates to the prev page, when grid paging is enabled.
1650
+ */
1651
+ public prevPage(): void {
1652
+ if (this.nativeElement.isRendered) {
1653
+ this.nativeElement.prevPage();
1654
+ }
1655
+ else
1656
+ {
1657
+ this.nativeElement.whenRendered(() => {
1658
+ this.nativeElement.prevPage();
1659
+ });
1660
+ }
1661
+ }
1662
+
1663
+ /** Navigates to the first page, when grid paging is enabled.
1664
+ */
1665
+ public firstPage(): void {
1666
+ if (this.nativeElement.isRendered) {
1667
+ this.nativeElement.firstPage();
1668
+ }
1669
+ else
1670
+ {
1671
+ this.nativeElement.whenRendered(() => {
1672
+ this.nativeElement.firstPage();
1673
+ });
1674
+ }
1675
+ }
1676
+
1677
+ /** Navigates to the last page, when grid paging is enabled.
1678
+ */
1679
+ public lastPage(): void {
1680
+ if (this.nativeElement.isRendered) {
1681
+ this.nativeElement.lastPage();
1682
+ }
1683
+ else
1684
+ {
1685
+ this.nativeElement.whenRendered(() => {
1686
+ this.nativeElement.lastPage();
1687
+ });
1688
+ }
1689
+ }
1690
+
1691
+ /** Focuses and selects a cell or row. The keyboard navigation starts from the focused cell or row. Any previously applied selection will be cleared after calling this method.
1692
+ * @param {string | number} rowId. row bound id
1693
+ * @param {string} dataField?. column bound data field
1694
+ */
1695
+ public focusAndSelect(rowId: string | number, dataField?: string): void {
1696
+ if (this.nativeElement.isRendered) {
1697
+ this.nativeElement.focusAndSelect(rowId, dataField);
1698
+ }
1699
+ else
1700
+ {
1701
+ this.nativeElement.whenRendered(() => {
1702
+ this.nativeElement.focusAndSelect(rowId, dataField);
1703
+ });
1704
+ }
1705
+ }
1706
+
1707
+ /** Iterates through each row in the grid and calls the callback for each row. This is similar to the forEach method on a JavaScript array. This is called for each row, ignoring grouping, filtering or sorting applied in the Grid.
1708
+ * @param {any} rowCallback. Callback function with a row object as parameter. Example: grid.forEachRow((row) => { console.log(row.id) });
1709
+ */
1710
+ public forEachRow(rowCallback: any): void {
1711
+ if (this.nativeElement.isRendered) {
1712
+ this.nativeElement.forEachRow(rowCallback);
1713
+ }
1714
+ else
1715
+ {
1716
+ this.nativeElement.whenRendered(() => {
1717
+ this.nativeElement.forEachRow(rowCallback);
1718
+ });
1719
+ }
1720
+ }
1721
+
1722
+ /** Similar to forEachRow. Iterates through each row in the grid and calls the callback for each row. This method takes into account filtering and sorting applied to the Grid.
1723
+ * @param {any} rowCallback. Callback function with a row object as parameter. Example: grid.forEachRow((row) => { console.log(row.id) });
1724
+ */
1725
+ public forEachRowAfterFilterAndSort(rowCallback: any): void {
1726
+ if (this.nativeElement.isRendered) {
1727
+ this.nativeElement.forEachRowAfterFilterAndSort(rowCallback);
1728
+ }
1729
+ else
1730
+ {
1731
+ this.nativeElement.whenRendered(() => {
1732
+ this.nativeElement.forEachRowAfterFilterAndSort(rowCallback);
1733
+ });
1734
+ }
1735
+ }
1736
+
1737
+ /** Gets the maximum position of the vertical scrollbar. You can use this method in combination with the setVerticalScrollValue to apply a new scroll position.
1738
+ * @returns {number}
1739
+ */
1740
+ public getVerticalScrollMax() : any {
1741
+ const result: any = this.nativeElement.getVerticalScrollMax();
1742
+ return result;
1743
+ }
1744
+
1745
+ /** Gets the position of the vertical scrollbar.
1746
+ * @returns {number}
1747
+ */
1748
+ public getVerticalScrollValue() : any {
1749
+ const result: any = this.nativeElement.getVerticalScrollValue();
1750
+ return result;
1751
+ }
1752
+
1753
+ /** Gets the maximum position of the horizontal scrollbar. You can use this method in combination with the setHorizontalScrollValue to apply a new scroll position.
1754
+ * @returns {number}
1755
+ */
1756
+ public getHorizontalScrollMax() : any {
1757
+ const result: any = this.nativeElement.getHorizontalScrollMax();
1758
+ return result;
1759
+ }
1760
+
1761
+ /** Gets the position of the horizontal scrollbar.
1762
+ * @returns {number}
1763
+ */
1764
+ public getHorizontalScrollValue() : any {
1765
+ const result: any = this.nativeElement.getHorizontalScrollValue();
1766
+ return result;
1767
+ }
1768
+
1769
+ /** 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'.
1770
+ * @returns {any}
1771
+ */
1772
+ public getColumns() : any {
1773
+ const result: any = this.nativeElement.getColumns();
1774
+ return result;
1775
+ }
1776
+
1777
+ /** Gets the editing cell(s), when the grid is editing.
1778
+ * @returns {any[]}
1779
+ */
1780
+ public getEditCells() : any {
1781
+ const result: any = this.nativeElement.getEditCells();
1782
+ return result;
1783
+ }
1784
+
1785
+ /** Gets the groups array.
1786
+ * @returns {any[]}
1787
+ */
1788
+ public getGroups() : any {
1789
+ const result: any = this.nativeElement.getGroups();
1790
+ return result;
1791
+ }
1792
+
1793
+ /** 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.
1794
+ * @returns {{[dataField: string]: { sortOrder: string, sortIndex: number }}}
1795
+ */
1796
+ public getSortedColumns() : any {
1797
+ const result: any = this.nativeElement.getSortedColumns();
1798
+ return result;
1799
+ }
1800
+
1801
+ /** Gets the selection.
1802
+ * @returns {any}
1803
+ */
1804
+ public getSelection() : any {
1805
+ const result: any = this.nativeElement.getSelection();
1806
+ return result;
1807
+ }
1808
+
1809
+ /** 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.
1810
+ * @returns {any[]}
1811
+ */
1812
+ public getSelectedRows() : any {
1813
+ const result: any = this.nativeElement.getSelectedRows();
1814
+ return result;
1815
+ }
1816
+
1817
+ /** Gets the selected row ids.
1818
+ * @returns {any[]}
1819
+ */
1820
+ public getSelectedRowIds() : any {
1821
+ const result: any = this.nativeElement.getSelectedRowIds();
1822
+ return result;
1823
+ }
1824
+
1825
+ /** Gets the selected row indexes.
1826
+ * @returns {any[]}
1827
+ */
1828
+ public getSelectedRowIndexes() : any {
1829
+ const result: any = this.nativeElement.getSelectedRowIndexes();
1830
+ return result;
1831
+ }
1832
+
1833
+ /** 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.
1834
+ * @returns {any[]}
1835
+ */
1836
+ public getSelectedCells() : any {
1837
+ const result: any = this.nativeElement.getSelectedCells();
1838
+ return result;
1839
+ }
1840
+
1841
+ /** Gets an array of columns with applied filters.
1842
+ * @returns {any}
1843
+ */
1844
+ public getFilteredColumns() : any {
1845
+ const result: any = this.nativeElement.getFilteredColumns();
1846
+ return result;
1847
+ }
1848
+
1849
+ /** Gets an array of rows, which are visible and match the applied filter.
1850
+ * @returns {any}
1851
+ */
1852
+ public getVisibleRows() : any {
1853
+ const result: any = this.nativeElement.getVisibleRows();
1854
+ return result;
1855
+ }
1856
+
1857
+ /** Gets the result of the getVisibleRows or the rows hierarchy, when the Grid is in TreeGrid/Grouping mode.
1858
+ * @returns {any}
1859
+ */
1860
+ public getViewRows() : any {
1861
+ const result: any = this.nativeElement.getViewRows();
1862
+ return result;
1863
+ }
1864
+
1865
+ /** Gets a JSON object with the following fields: 'sort', 'columns', 'expandedRows', 'filter', 'groups', 'paging', 'selectedCells', 'selectedrows'. The 'sort' represents an object which contains the sorted columns. Each key in that json object is the column's dataField item which has sortOrder: string and sortIndex: int properties. The sortOrder could be either 'asc' or 'desc'. Similarly, the filter object contains the filtered columns. Each key in that object is a column data field and each value has 'filters' array property with the applied filters to the column. The 'columns' property contains an array of columns with saved properties such as visible, width and freeze. The 'expandedRows' property contains the indexes of the expanded rows. The 'groups' property contains the grouped column data fields and the selectedCells and selectedRows include information about the cells or rows selection. These depend on the selection mode used in the Grid. The 'paging' object includes the sub-properties 'count', 'index' and 'size' which determine the count of pages, the current page's index and the page size.
1866
+ * @returns {any}
1867
+ */
1868
+ public getState() : any {
1869
+ const result: any = this.nativeElement.getState();
1870
+ return result;
1871
+ }
1872
+
1873
+ /** Saves the Grid state and returns a JSON object with the following fields: 'sort', 'columns', 'expandedRows', 'filter', 'groups', 'paging', 'selectedCells', 'selectedrows'. The 'sort' represents an object which contains the sorted columns. Each key in that json object is the column's dataField item which has sortOrder: string and sortIndex: int properties. The sortOrder could be either 'asc' or 'desc'. Similarly, the filter object contains the filtered columns. Each key in that object is a column data field and each value has 'filters' array property with the applied filters to the column. The 'columns' property contains an array of columns with saved properties such as visible, width and freeze. The 'expandedRows' property contains the indexes of the expanded rows. The 'groups' property contains the grouped column data fields and the selectedCells and selectedRows include information about the cells or rows selection. These depend on the selection mode used in the Grid. The 'paging' object includes the sub-properties 'count', 'index' and 'size' which determine the count of pages, the current page's index and the page size.
1874
+ * @param {string} name?. state name
1875
+ * @returns {any}
1876
+ */
1877
+ public saveState(name?:string) : any {
1878
+ const result: any = this.nativeElement.saveState(name);
1879
+ return result;
1880
+ }
1881
+
1882
+ /** Loads a previously saved Grid state. You can pass a state name when there is a state which was previously saved with the saveState(stateName) method call or a state object returned by the saveState or getState method calls. The state object is required to be a JSON object with the following fields: 'sort', 'columns', 'expandedRows', 'filter', 'groups', 'paging', 'selectedCells', 'selectedrows'. The 'sort' represents an object which contains the sorted columns. Each key in that json object is the column's dataField item which has sortOrder: string and sortIndex: int properties. The sortOrder could be either 'asc' or 'desc'. Similarly, the filter object contains the filtered columns. Each key in that object is a column data field and each value has 'filters' array property with the applied filters to the column. The 'columns' property contains an array of columns with saved properties such as visible, width and freeze. The 'expandedRows' property contains the indexes of the expanded rows. The 'groups' property contains the grouped column data fields and the selectedCells and selectedRows include information about the cells or rows selection. These depend on the selection mode used in the Grid. The 'paging' object includes the sub-properties 'count', 'index' and 'size' which determine the count of pages, the current page's index and the page size.
1883
+ * @param {any} state. state name or state object
1884
+ * @returns {any}
1885
+ */
1886
+ public loadState(state:any) : any {
1887
+ const result: any = this.nativeElement.loadState(state);
1888
+ return result;
1889
+ }
1890
+
1891
+ /** Resets the Grid state.
1892
+ */
1893
+ public resetState(): void {
1894
+ if (this.nativeElement.isRendered) {
1895
+ this.nativeElement.resetState();
1896
+ }
1897
+ else
1898
+ {
1899
+ this.nativeElement.whenRendered(() => {
1900
+ this.nativeElement.resetState();
1901
+ });
1902
+ }
1903
+ }
1904
+
1905
+ /** Gets the changes from the batch edit.
1906
+ * @returns {{ upDated: [{ id: string, dataField: string, oldValue: Object, newValue: Object }], deleted: [{id: string, data: Object}], added: [{id: string, data: Object}] }}
1907
+ */
1908
+ public getBatchEditChanges() : any {
1909
+ const result: any = this.nativeElement.getBatchEditChanges();
1910
+ return result;
1911
+ }
1912
+
1913
+ /** Gets a value of a cell.
1914
+ * @param {string | number} rowId. row bound id
1915
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
1916
+ * @returns {any}
1917
+ */
1918
+ public getCellValue(rowId:string | number, dataField:string) : any {
1919
+ const result: any = this.nativeElement.getCellValue(rowId, dataField);
1920
+ return result;
1921
+ }
1922
+
1923
+ /** Gets a column. Returns a Grid column object.
1924
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
1925
+ * @returns {GridColumn}
1926
+ */
1927
+ public getColumn(dataField:string) : any {
1928
+ const result: any = this.nativeElement.getColumn(dataField);
1929
+ return result;
1930
+ }
1931
+
1932
+ /** Gets a value of a column.
1933
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
1934
+ * @param {string} propertyName. The property name.
1935
+ * @returns {any}
1936
+ */
1937
+ public getColumnProperty(dataField:string, propertyName:string) : any {
1938
+ const result: any = this.nativeElement.getColumnProperty(dataField, propertyName);
1939
+ return result;
1940
+ }
1941
+
1942
+ /** Gets a value of a row.
1943
+ * @param {string | number} rowId. row bound id
1944
+ * @param {string} propertyName. The property name.
1945
+ * @returns {any}
1946
+ */
1947
+ public getRowProperty(rowId:string | number, propertyName:string) : any {
1948
+ const result: any = this.nativeElement.getRowProperty(rowId, propertyName);
1949
+ return result;
1950
+ }
1951
+
1952
+ /** Gets a row. Returns a Grid row object.
1953
+ * @param {string | number} rowId. row bound id
1954
+ * @returns {GridRow}
1955
+ */
1956
+ public getRow(rowId:string | number) : any {
1957
+ const result: any = this.nativeElement.getRow(rowId);
1958
+ return result;
1959
+ }
1960
+
1961
+ /** Gets a row by its index. Returns a Grid row object.
1962
+ * @param {number} rowIndex. row bound index
1963
+ * @returns {GridRow}
1964
+ */
1965
+ public getRowByIndex(rowIndex:number) : any {
1966
+ const result: any = this.nativeElement.getRowByIndex(rowIndex);
1967
+ return result;
1968
+ }
1969
+
1970
+ /** Gets the Data source data associated to the row.
1971
+ * @param {string | number} rowId. row bound id
1972
+ * @returns {any}
1973
+ */
1974
+ public getRowData(rowId:string | number) : any {
1975
+ const result: any = this.nativeElement.getRowData(rowId);
1976
+ return result;
1977
+ }
1978
+
1979
+ /** Gets the Row's id by a row index.
1980
+ * @param {number} rowIndex. row index
1981
+ * @returns {string | number}
1982
+ */
1983
+ public getRowId(rowIndex:number) : any {
1984
+ const result: any = this.nativeElement.getRowId(rowIndex);
1985
+ return result;
1986
+ }
1987
+
1988
+ /** Gets whether a column's drop-down menu is opened.
1989
+ * @returns {boolean}
1990
+ */
1991
+ public hasMenu() : any {
1992
+ const result: any = this.nativeElement.hasMenu();
1993
+ return result;
1994
+ }
1995
+
1996
+ /** This method returns true, if any rows in the Grid are selected.
1997
+ * @returns {boolean}
1998
+ */
1999
+ public hasSelectedRows() : any {
2000
+ const result: any = this.nativeElement.hasSelectedRows();
2001
+ return result;
2002
+ }
2003
+
2004
+ /** Hides the Details of a Row, when row details are enabled.
2005
+ * @param {string | number} rowId. row bound id
2006
+ */
2007
+ public hideDetail(rowId: string | number): void {
2008
+ if (this.nativeElement.isRendered) {
2009
+ this.nativeElement.hideDetail(rowId);
2010
+ }
2011
+ else
2012
+ {
2013
+ this.nativeElement.whenRendered(() => {
2014
+ this.nativeElement.hideDetail(rowId);
2015
+ });
2016
+ }
2017
+ }
2018
+
2019
+ /** Highlights a column. Highlights a Grid column.
2020
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
2021
+ */
2022
+ public highlightColumn(dataField: string): void {
2023
+ if (this.nativeElement.isRendered) {
2024
+ this.nativeElement.highlightColumn(dataField);
2025
+ }
2026
+ else
2027
+ {
2028
+ this.nativeElement.whenRendered(() => {
2029
+ this.nativeElement.highlightColumn(dataField);
2030
+ });
2031
+ }
2032
+ }
2033
+
2034
+ /** Highlights a cell. Calling the method a second time toggle the highlight state.
2035
+ * @param {string | number} rowId. row bound id
2036
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
2037
+ * @param {string} className?. CSS Class Name
2038
+ */
2039
+ public highlightCell(rowId: string | number, dataField: string, className?: string): void {
2040
+ if (this.nativeElement.isRendered) {
2041
+ this.nativeElement.highlightCell(rowId, dataField, className);
2042
+ }
2043
+ else
2044
+ {
2045
+ this.nativeElement.whenRendered(() => {
2046
+ this.nativeElement.highlightCell(rowId, dataField, className);
2047
+ });
2048
+ }
2049
+ }
2050
+
2051
+ /** Highlights a row. Calling the method a second time toggle the highlight state.
2052
+ * @param {string | number} rowId. row bound id
2053
+ * @param {string} className?. CSS Class Name
2054
+ */
2055
+ public highlightRow(rowId: string | number, className?: string): void {
2056
+ if (this.nativeElement.isRendered) {
2057
+ this.nativeElement.highlightRow(rowId, className);
2058
+ }
2059
+ else
2060
+ {
2061
+ this.nativeElement.whenRendered(() => {
2062
+ this.nativeElement.highlightRow(rowId, className);
2063
+ });
2064
+ }
2065
+ }
2066
+
2067
+ /** Inserts a row. When batch editing is enabled, the row is not saved until the batch edit is saved.
2068
+ * @param {any} data. row data matching the data source
2069
+ * @param {number} index?. Determines the insert index. The default value is the last index.
2070
+ * @param {{(row: GridRow): void}} callback?. Sets a callback function, which is called after the new row is added. The callback's argument is the new row.
2071
+ */
2072
+ public insertRow(data: any, index?: number, callback?: {(row: GridRow): void}): void {
2073
+ if (this.nativeElement.isRendered) {
2074
+ this.nativeElement.insertRow(data, index, callback);
2075
+ }
2076
+ else
2077
+ {
2078
+ this.nativeElement.whenRendered(() => {
2079
+ this.nativeElement.insertRow(data, index, callback);
2080
+ });
2081
+ }
2082
+ }
2083
+
2084
+ /** Opens a column drop-down menu.
2085
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
2086
+ */
2087
+ public openMenu(dataField: string): void {
2088
+ if (this.nativeElement.isRendered) {
2089
+ this.nativeElement.openMenu(dataField);
2090
+ }
2091
+ else
2092
+ {
2093
+ this.nativeElement.whenRendered(() => {
2094
+ this.nativeElement.openMenu(dataField);
2095
+ });
2096
+ }
2097
+ }
2098
+
2099
+ /** Opens a context menu. Note that context menu should be enabled.
2100
+ * @param {number} left. Left Position.
2101
+ * @param {number} top. Top Position.
2102
+ */
2103
+ public openContextMenu(left: number, top: number): void {
2104
+ if (this.nativeElement.isRendered) {
2105
+ this.nativeElement.openContextMenu(left, top);
2106
+ }
2107
+ else
2108
+ {
2109
+ this.nativeElement.whenRendered(() => {
2110
+ this.nativeElement.openContextMenu(left, top);
2111
+ });
2112
+ }
2113
+ }
2114
+
2115
+ /** Prints the Grid data. The method uses the options of the dataExport property. When printed, the Grid will not display any scrollbars so all rows and columns will be displayed. The grid will auto resize width and height to fit all contents. To customize the printing options, you can use the dataExport property.
2116
+ */
2117
+ public print(): void {
2118
+ if (this.nativeElement.isRendered) {
2119
+ this.nativeElement.print();
2120
+ }
2121
+ else
2122
+ {
2123
+ this.nativeElement.whenRendered(() => {
2124
+ this.nativeElement.print();
2125
+ });
2126
+ }
2127
+ }
2128
+
2129
+ /** Renders the grid. This method will make a full-refresh like in the initial Grid creation. It will create Rows, Columns and Cells HTML Elements and then refresh the Grid layout.
2130
+ */
2131
+ public refresh(): void {
2132
+ if (this.nativeElement.isRendered) {
2133
+ this.nativeElement.refresh();
2134
+ }
2135
+ else
2136
+ {
2137
+ this.nativeElement.whenRendered(() => {
2138
+ this.nativeElement.refresh();
2139
+ });
2140
+ }
2141
+ }
2142
+
2143
+ /** Refreshes the grid with the current property values. This method will refresh the Grid layout.
2144
+ */
2145
+ public refreshView(): void {
2146
+ if (this.nativeElement.isRendered) {
2147
+ this.nativeElement.refreshView();
2148
+ }
2149
+ else
2150
+ {
2151
+ this.nativeElement.whenRendered(() => {
2152
+ this.nativeElement.refreshView();
2153
+ });
2154
+ }
2155
+ }
2156
+
2157
+ /** Refreshes the grid cells in view. The method is useful for live-updates of cell values.
2158
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
2159
+ * @param {boolean} refreshFilters?. Set this to false, if you need to make multiple removeFilter calls.
2160
+ */
2161
+ public removeFilter(dataField: string, refreshFilters?: boolean): void {
2162
+ if (this.nativeElement.isRendered) {
2163
+ this.nativeElement.removeFilter(dataField, refreshFilters);
2164
+ }
2165
+ else
2166
+ {
2167
+ this.nativeElement.whenRendered(() => {
2168
+ this.nativeElement.removeFilter(dataField, refreshFilters);
2169
+ });
2170
+ }
2171
+ }
2172
+
2173
+ /** Removes a column filter.
2174
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
2175
+ */
2176
+ public removeGroup(dataField: string): void {
2177
+ if (this.nativeElement.isRendered) {
2178
+ this.nativeElement.removeGroup(dataField);
2179
+ }
2180
+ else
2181
+ {
2182
+ this.nativeElement.whenRendered(() => {
2183
+ this.nativeElement.removeGroup(dataField);
2184
+ });
2185
+ }
2186
+ }
2187
+
2188
+ /** Removes a group by data field. This method will remove a group to the Grid when grouping is enabled.
2189
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
2190
+ */
2191
+ public removeSort(dataField: string): void {
2192
+ if (this.nativeElement.isRendered) {
2193
+ this.nativeElement.removeSort(dataField);
2194
+ }
2195
+ else
2196
+ {
2197
+ this.nativeElement.whenRendered(() => {
2198
+ this.nativeElement.removeSort(dataField);
2199
+ });
2200
+ }
2201
+ }
2202
+
2203
+ /** Removes a sorting by data field. This method will remove a sorting from a Grid column.
2204
+ */
2205
+ public refreshSort(): void {
2206
+ if (this.nativeElement.isRendered) {
2207
+ this.nativeElement.refreshSort();
2208
+ }
2209
+ else
2210
+ {
2211
+ this.nativeElement.whenRendered(() => {
2212
+ this.nativeElement.refreshSort();
2213
+ });
2214
+ }
2215
+ }
2216
+
2217
+ /** Re-sorts the Grid by using the already applied column sortings and re-renders the Grid.
2218
+ */
2219
+ public revertBatchEdit(): void {
2220
+ if (this.nativeElement.isRendered) {
2221
+ this.nativeElement.revertBatchEdit();
2222
+ }
2223
+ else
2224
+ {
2225
+ this.nativeElement.whenRendered(() => {
2226
+ this.nativeElement.revertBatchEdit();
2227
+ });
2228
+ }
2229
+ }
2230
+
2231
+ /** Reverts the batch edit changes. This method cancels all changes made by the end-user.
2232
+ * @param {string | number} dataField. The data field or column index of the first grid column.
2233
+ * @param {string | number} referenceDataField. The data field or column index of the second grid column.
2234
+ * @param {boolean} insertAfter?. Determines whether to insert the first column after the reference column.
2235
+ */
2236
+ public reorderColumns(dataField: string | number, referenceDataField: string | number, insertAfter?: boolean): void {
2237
+ if (this.nativeElement.isRendered) {
2238
+ this.nativeElement.reorderColumns(dataField, referenceDataField, insertAfter);
2239
+ }
2240
+ else
2241
+ {
2242
+ this.nativeElement.whenRendered(() => {
2243
+ this.nativeElement.reorderColumns(dataField, referenceDataField, insertAfter);
2244
+ });
2245
+ }
2246
+ }
2247
+
2248
+ /** Reorders two DataGrid columns.
2249
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
2250
+ * @param {string | null} sortOrder. column's sort order. Use 'asc', 'desc' or null.
2251
+ */
2252
+ public sortBy(dataField: string, sortOrder: string | null): void {
2253
+ if (this.nativeElement.isRendered) {
2254
+ this.nativeElement.sortBy(dataField, sortOrder);
2255
+ }
2256
+ else
2257
+ {
2258
+ this.nativeElement.whenRendered(() => {
2259
+ this.nativeElement.sortBy(dataField, sortOrder);
2260
+ });
2261
+ }
2262
+ }
2263
+
2264
+ /** Sorts the Grid by a data field. This method will add or remove sorting, when sorting is enabled. To remove the sorting, use 'null' for the sortOrder parameter.
2265
+ * @param {string | number} dataField. The data field or column index of the first grid column.
2266
+ * @param {string | number} referenceDataField. The data field or column index of the second grid column.
2267
+ */
2268
+ public swapColumns(dataField: string | number, referenceDataField: string | number): void {
2269
+ if (this.nativeElement.isRendered) {
2270
+ this.nativeElement.swapColumns(dataField, referenceDataField);
2271
+ }
2272
+ else
2273
+ {
2274
+ this.nativeElement.whenRendered(() => {
2275
+ this.nativeElement.swapColumns(dataField, referenceDataField);
2276
+ });
2277
+ }
2278
+ }
2279
+
2280
+ /** Swaps two DataGrid columns.
2281
+ */
2282
+ public saveBatchEdit(): void {
2283
+ if (this.nativeElement.isRendered) {
2284
+ this.nativeElement.saveBatchEdit();
2285
+ }
2286
+ else
2287
+ {
2288
+ this.nativeElement.whenRendered(() => {
2289
+ this.nativeElement.saveBatchEdit();
2290
+ });
2291
+ }
2292
+ }
2293
+
2294
+ /** Saves the batch edit changes. This method confirms the editing changes made by the end-user.
2295
+ * @param {string | number} rowId. row bound id
2296
+ * @param {string} dataField?. column bound data field
2297
+ */
2298
+ public select(rowId: string | number, dataField?: string): void {
2299
+ if (this.nativeElement.isRendered) {
2300
+ this.nativeElement.select(rowId, dataField);
2301
+ }
2302
+ else
2303
+ {
2304
+ this.nativeElement.whenRendered(() => {
2305
+ this.nativeElement.select(rowId, dataField);
2306
+ });
2307
+ }
2308
+ }
2309
+
2310
+ /** Selects a row, cell or column.
2311
+ * @param {string | number} rowId. row bound id
2312
+ * @param {string} dataField. column bound data field
2313
+ * @param {string | number} endRowId. row bound id
2314
+ * @param {string} endDataField. column bound data field
2315
+ */
2316
+ public selectRange(rowId: string | number, dataField: string, endRowId: string | number, endDataField: string): void {
2317
+ if (this.nativeElement.isRendered) {
2318
+ this.nativeElement.selectRange(rowId, dataField, endRowId, endDataField);
2319
+ }
2320
+ else
2321
+ {
2322
+ this.nativeElement.whenRendered(() => {
2323
+ this.nativeElement.selectRange(rowId, dataField, endRowId, endDataField);
2324
+ });
2325
+ }
2326
+ }
2327
+
2328
+ /** Selects a range of rows, cells or columns. The result of the method depends on the selection configuration of the Grid.
2329
+ * @param {string | number} rowId. row bound id
2330
+ * @param {string | number} endRowId. row bound id
2331
+ */
2332
+ public selectRowsRange(rowId: string | number, endRowId: string | number): void {
2333
+ if (this.nativeElement.isRendered) {
2334
+ this.nativeElement.selectRowsRange(rowId, endRowId);
2335
+ }
2336
+ else
2337
+ {
2338
+ this.nativeElement.whenRendered(() => {
2339
+ this.nativeElement.selectRowsRange(rowId, endRowId);
2340
+ });
2341
+ }
2342
+ }
2343
+
2344
+ /** Selects a range of rows.
2345
+ * @param {(string | number)[]} rowId. Array of row ids
2346
+ */
2347
+ public selectRows(rowId: (string | number)[]): void {
2348
+ if (this.nativeElement.isRendered) {
2349
+ this.nativeElement.selectRows(rowId);
2350
+ }
2351
+ else
2352
+ {
2353
+ this.nativeElement.whenRendered(() => {
2354
+ this.nativeElement.selectRows(rowId);
2355
+ });
2356
+ }
2357
+ }
2358
+
2359
+ /** Selects multiple rows by their ids.
2360
+ */
2361
+ public selectAllRows(): void {
2362
+ if (this.nativeElement.isRendered) {
2363
+ this.nativeElement.selectAllRows();
2364
+ }
2365
+ else
2366
+ {
2367
+ this.nativeElement.whenRendered(() => {
2368
+ this.nativeElement.selectAllRows();
2369
+ });
2370
+ }
2371
+ }
2372
+
2373
+ /** Selects all rows.
2374
+ * @param {number[]} rowIndex. Array of row indexes
2375
+ */
2376
+ public selectRowsByIndex(rowIndex: number[]): void {
2377
+ if (this.nativeElement.isRendered) {
2378
+ this.nativeElement.selectRowsByIndex(rowIndex);
2379
+ }
2380
+ else
2381
+ {
2382
+ this.nativeElement.whenRendered(() => {
2383
+ this.nativeElement.selectRowsByIndex(rowIndex);
2384
+ });
2385
+ }
2386
+ }
2387
+
2388
+ /** Selects multiple rows by their index.
2389
+ * @param {string} query. Search query
2390
+ * @param {string} dataField?. Column data field.
2391
+ * @param {string} condition?. Conditions which you can use in the expressions: '=', 'EQUAL','&lt;&gt;', 'NOT_EQUAL', '!=', '&lt;', 'LESS_THAN','&gt;', 'GREATER_THAN', '&lt;=', 'LESS_THAN_OR_EQUAL', '&gt;=', 'GREATER_THAN_OR_EQUAL','starts with', 'STARTS_WITH','ends with', 'ENDS_WITH', '', 'EMPTY', 'CONTAINS','DOES_NOT_CONTAIN', 'NULL','NOT_NULL'
2392
+ */
2393
+ public selectRowsByQuery(query: string, dataField?: string, condition?: string): void {
2394
+ if (this.nativeElement.isRendered) {
2395
+ this.nativeElement.selectRowsByQuery(query, dataField, condition);
2396
+ }
2397
+ else
2398
+ {
2399
+ this.nativeElement.whenRendered(() => {
2400
+ this.nativeElement.selectRowsByQuery(query, dataField, condition);
2401
+ });
2402
+ }
2403
+ }
2404
+
2405
+ /** Selects rows by using a query. Example: grid.selectRowsByQuery('nancy'); selects all rows that have 'nancy' value. Example 2: grid.selectRowsByQuery('nancy, davolio'); selects all rows that have 'nancy' and 'davolio' values in the same row. Example 3: grid.selectRowsByQuery(5, 'quantity', '>'); selects all rows where the value of the 'quantity' field is > 5.
2406
+ * @param {(string | number)[]} rowIds. Array of row ids
2407
+ * @param {string[]} dataFields. Array of data fields.
2408
+ */
2409
+ public selectCells(rowIds: (string | number)[], dataFields: string[]): void {
2410
+ if (this.nativeElement.isRendered) {
2411
+ this.nativeElement.selectCells(rowIds, dataFields);
2412
+ }
2413
+ else
2414
+ {
2415
+ this.nativeElement.whenRendered(() => {
2416
+ this.nativeElement.selectCells(rowIds, dataFields);
2417
+ });
2418
+ }
2419
+ }
2420
+
2421
+ /** Selects multiple cells by their ids and dataFields. Example: grid.selectCells([0, 1, 2], ['firstName', 'quantity', 'date']); - selects the 'firstName', 'quantity' and 'date' cells from the first, second and third rows.
2422
+ * @param {string} query. Search query
2423
+ */
2424
+ public selectCellsByQuery(query: string): void {
2425
+ if (this.nativeElement.isRendered) {
2426
+ this.nativeElement.selectCellsByQuery(query);
2427
+ }
2428
+ else
2429
+ {
2430
+ this.nativeElement.whenRendered(() => {
2431
+ this.nativeElement.selectCellsByQuery(query);
2432
+ });
2433
+ }
2434
+ }
2435
+
2436
+ /** Selects cells by using a query. Example: grid.selectCellsByQuery('nancy'); selects all cells that have 'nancy' value. Example 2: grid.selectCellsByQuery('nancy, davolio'); selects all cells that have 'nancy' and 'davolio' values in the same row.
2437
+ * @param {string | number} rowId. row bound id
2438
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
2439
+ * @param {string | number | Date | boolean} value. New Cell value.
2440
+ */
2441
+ public setCellValue(rowId: string | number, dataField: string, value: string | number | Date | boolean): void {
2442
+ if (this.nativeElement.isRendered) {
2443
+ this.nativeElement.setCellValue(rowId, dataField, value);
2444
+ }
2445
+ else
2446
+ {
2447
+ this.nativeElement.whenRendered(() => {
2448
+ this.nativeElement.setCellValue(rowId, dataField, value);
2449
+ });
2450
+ }
2451
+ }
2452
+
2453
+ /** Sets a new value to a cell.
2454
+ * @param {GridColumn[]} columns. Columns array.
2455
+ */
2456
+ public setColumns(columns: GridColumn[]): void {
2457
+ if (this.nativeElement.isRendered) {
2458
+ this.nativeElement.setColumns(columns);
2459
+ }
2460
+ else
2461
+ {
2462
+ this.nativeElement.whenRendered(() => {
2463
+ this.nativeElement.setColumns(columns);
2464
+ });
2465
+ }
2466
+ }
2467
+
2468
+ /** Sets new columns to the Grid. The grid will redraw all the column headers, and then redraw all of the rows. By using 'setColumns', the grid will compare the new columns passed as argument to the method with existing columns. The Grid will automatically create new columns, keep old columns if they already exist and remove columns which are not in the 'setColumns' method argument. The benefit of that is that the state of the column like(sort, filter, width or other) will be kept, if the column exsits after the new columns are applied.
2469
+ * @param {string} dataField. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
2470
+ * @param {string} propertyName. The column property's name.
2471
+ * @param {any} value. The new property value.
2472
+ */
2473
+ public setColumnProperty(dataField: string, propertyName: string, value: any): void {
2474
+ if (this.nativeElement.isRendered) {
2475
+ this.nativeElement.setColumnProperty(dataField, propertyName, value);
2476
+ }
2477
+ else
2478
+ {
2479
+ this.nativeElement.whenRendered(() => {
2480
+ this.nativeElement.setColumnProperty(dataField, propertyName, value);
2481
+ });
2482
+ }
2483
+ }
2484
+
2485
+ /** Sets a property to a column.
2486
+ * @param {string | number} rowId. row bound id
2487
+ * @param {string} propertyName. The row property's name.
2488
+ * @param {any} value. The new property value.
2489
+ */
2490
+ public setRowProperty(rowId: string | number, propertyName: string, value: any): void {
2491
+ if (this.nativeElement.isRendered) {
2492
+ this.nativeElement.setRowProperty(rowId, propertyName, value);
2493
+ }
2494
+ else
2495
+ {
2496
+ this.nativeElement.whenRendered(() => {
2497
+ this.nativeElement.setRowProperty(rowId, propertyName, value);
2498
+ });
2499
+ }
2500
+ }
2501
+
2502
+ /** Sets a property to a row.
2503
+ * @param {string | number} rowId. row bound id
2504
+ * @param {{background?: string, color?: string, fontSize?: string, fontFamily?: string, textDecoration?: string, fontStyle?: string, fontWeight?: string}} rowStyle. The row style object. The object may have one or all of the following properties: 'background', 'color', 'fontSize', 'fontFamily', 'textDecoration', 'fontStyle', 'fontWeight'.
2505
+ */
2506
+ public setRowStyle(rowId: string | number, rowStyle: {background?: string, color?: string, fontSize?: string, fontFamily?: string, textDecoration?: string, fontStyle?: string, fontWeight?: string}): void {
2507
+ if (this.nativeElement.isRendered) {
2508
+ this.nativeElement.setRowStyle(rowId, rowStyle);
2509
+ }
2510
+ else
2511
+ {
2512
+ this.nativeElement.whenRendered(() => {
2513
+ this.nativeElement.setRowStyle(rowId, rowStyle);
2514
+ });
2515
+ }
2516
+ }
2517
+
2518
+ /** Sets a style to a row.
2519
+ * @param {string | number} rowId. row bound id
2520
+ * @param {string} dataField. Column bound field name.
2521
+ * @param {{background?: string, color?: string, fontSize?: string, fontFamily?: string, textDecoration?: string, fontStyle?: string, fontWeight?: string}} rowStyle. The cell style object. The object may have one or all of the following properties: 'background', 'color', 'fontSize', 'fontFamily', 'textDecoration', 'fontStyle', 'fontWeight'.
2522
+ */
2523
+ public setCellStyle(rowId: string | number, dataField: string, rowStyle: {background?: string, color?: string, fontSize?: string, fontFamily?: string, textDecoration?: string, fontStyle?: string, fontWeight?: string}): void {
2524
+ if (this.nativeElement.isRendered) {
2525
+ this.nativeElement.setCellStyle(rowId, dataField, rowStyle);
2526
+ }
2527
+ else
2528
+ {
2529
+ this.nativeElement.whenRendered(() => {
2530
+ this.nativeElement.setCellStyle(rowId, dataField, rowStyle);
2531
+ });
2532
+ }
2533
+ }
2534
+
2535
+ /** Sets a style to a row.
2536
+ * @param {number} value. The new scroll position
2537
+ */
2538
+ public setVerticalScrollValue(value: number): void {
2539
+ if (this.nativeElement.isRendered) {
2540
+ this.nativeElement.setVerticalScrollValue(value);
2541
+ }
2542
+ else
2543
+ {
2544
+ this.nativeElement.whenRendered(() => {
2545
+ this.nativeElement.setVerticalScrollValue(value);
2546
+ });
2547
+ }
2548
+ }
2549
+
2550
+ /** Sets the position of the vertical scrollbar. You can use this method in combination with the getVerticalScrollValue and getVerticalScrollMax.
2551
+ * @param {number} value. The new scroll position
2552
+ */
2553
+ public setHorizontalScrollValue(value: number): void {
2554
+ if (this.nativeElement.isRendered) {
2555
+ this.nativeElement.setHorizontalScrollValue(value);
2556
+ }
2557
+ else
2558
+ {
2559
+ this.nativeElement.whenRendered(() => {
2560
+ this.nativeElement.setHorizontalScrollValue(value);
2561
+ });
2562
+ }
2563
+ }
2564
+
2565
+ /** Sets the position of the horizontal scrollbar. You can use this method in combination with the getHorizontalScrollValue and getHorizontalScrollMax.
2566
+ * @param {string | number} rowId. row bound id
2567
+ */
2568
+ public showDetail(rowId: string | number): void {
2569
+ if (this.nativeElement.isRendered) {
2570
+ this.nativeElement.showDetail(rowId);
2571
+ }
2572
+ else
2573
+ {
2574
+ this.nativeElement.whenRendered(() => {
2575
+ this.nativeElement.showDetail(rowId);
2576
+ });
2577
+ }
2578
+ }
2579
+
2580
+ /** Shows the Details of a Row, when row details are enabled.
2581
+ * @param {string | number} rowId. row bound id
2582
+ * @param {any} data. row data matching the data source
2583
+ * @param {{(row: GridRow): void}} callback?. Sets a callback function, which is called after the row is updated. The callback's argument is the updated row.
2584
+ */
2585
+ public updateRow(rowId: string | number, data: any, callback?: {(row: GridRow): void}): void {
2586
+ if (this.nativeElement.isRendered) {
2587
+ this.nativeElement.updateRow(rowId, data, callback);
2588
+ }
2589
+ else
2590
+ {
2591
+ this.nativeElement.whenRendered(() => {
2592
+ this.nativeElement.updateRow(rowId, data, callback);
2593
+ });
2594
+ }
2595
+ }
2596
+
2597
+ /** Updates a row. When batch editing is enabled, the row is not saved until the batch edit is saved.
2598
+ * @param {string | number} rowId. row bound id
2599
+ * @param {string} dataField?. column bound data field. For example, if you have a column with dataField: 'firstName', set 'firstName' here.
2600
+ */
2601
+ public unselect(rowId: string | number, dataField?: string): void {
2602
+ if (this.nativeElement.isRendered) {
2603
+ this.nativeElement.unselect(rowId, dataField);
2604
+ }
2605
+ else
2606
+ {
2607
+ this.nativeElement.whenRendered(() => {
2608
+ this.nativeElement.unselect(rowId, dataField);
2609
+ });
2610
+ }
2611
+ }
2612
+
2613
+ /** Unselects a row, cell or column.
2614
+ * @param {string | number} rowId. row bound id
2615
+ */
2616
+ public uncheckRow(rowId: string | number): void {
2617
+ if (this.nativeElement.isRendered) {
2618
+ this.nativeElement.uncheckRow(rowId);
2619
+ }
2620
+ else
2621
+ {
2622
+ this.nativeElement.whenRendered(() => {
2623
+ this.nativeElement.uncheckRow(rowId);
2624
+ });
2625
+ }
2626
+ }
2627
+
2628
+ /** Unchecks a TreeGrid row. Sets its check-box to false.
2629
+ */
2630
+ public uncheckAllRows(): void {
2631
+ if (this.nativeElement.isRendered) {
2632
+ this.nativeElement.uncheckAllRows();
2633
+ }
2634
+ else
2635
+ {
2636
+ this.nativeElement.whenRendered(() => {
2637
+ this.nativeElement.uncheckAllRows();
2638
+ });
2639
+ }
2640
+ }
2641
+
2642
+ /** Unchecks all TreeGrid or Grouping rows. Sets all check-boxes to false.
2643
+ * @param {string | number} rowId. row bound id
2644
+ */
2645
+ public toggleRow(rowId: string | number): void {
2646
+ if (this.nativeElement.isRendered) {
2647
+ this.nativeElement.toggleRow(rowId);
2648
+ }
2649
+ else
2650
+ {
2651
+ this.nativeElement.whenRendered(() => {
2652
+ this.nativeElement.toggleRow(rowId);
2653
+ });
2654
+ }
2655
+ }
2656
+
2657
+
2658
+
2659
+ constructor(props: any) {
2660
+ super(props);
2661
+ this.componentRef = React.createRef();
2662
+ }
2663
+
2664
+ componentDidRender(initialize: boolean) {
2665
+ const that = this;
2666
+ const props: any = {};
2667
+ const events: any = {};
2668
+ let styles: any = null;
2669
+
2670
+ for(let prop in that.props) {
2671
+ if (prop === 'children') {
2672
+ continue;
2673
+ }
2674
+
2675
+ if (prop === 'style') {
2676
+ styles = that.props[prop];
2677
+ continue;
2678
+ }
2679
+
2680
+ if (prop.startsWith('on') && that.properties.indexOf(prop) === -1) {
2681
+ events[prop] = that.props[prop];
2682
+ continue;
2683
+ }
2684
+
2685
+ props[prop] = that.props[prop];
2686
+ }
2687
+
2688
+ if (initialize) {
2689
+ that.nativeElement = this.componentRef.current;
2690
+ }
2691
+
2692
+ for(let prop in props) {
2693
+ if (prop === 'class' || prop === 'className') {
2694
+ const classNames = props[prop].trim().split(' ');
2695
+
2696
+ for(let className in classNames) {
2697
+ if (!that.nativeElement.classList.contains(classNames[className]) && classNames[className] !== "") {
2698
+ that.nativeElement.classList.add(classNames[className]);
2699
+ }
2700
+ }
2701
+
2702
+ continue;
2703
+ }
2704
+
2705
+ if (props[prop] !== that.nativeElement[prop]) {
2706
+ const normalizeProp = (str: string) => {
2707
+ return str.replace(/-([a-z])/g, function (g) {
2708
+ return g[1].toUpperCase();
2709
+ });
2710
+ }
2711
+
2712
+ if (prop === 'hover' || prop === 'active' || prop === 'focus' || prop === 'selected') {
2713
+ that.nativeElement.setAttribute(prop, '');
2714
+ }
2715
+
2716
+ const normalizedProp = normalizeProp(prop);
2717
+
2718
+ that.nativeElement[normalizedProp] = props[prop];
2719
+ }
2720
+ }
2721
+
2722
+
2723
+ for(let eventName in events) {
2724
+ that[eventName] = events[eventName];
2725
+ that.nativeElement[eventName.toLowerCase()] = events[eventName];
2726
+ }
2727
+
2728
+ if (initialize) {
2729
+ Smart.Render();
2730
+
2731
+ if (that.onCreate) {
2732
+ that.onCreate();
2733
+ }
2734
+
2735
+ that.nativeElement.whenRendered(() => {
2736
+ if (that.onReady) {
2737
+ that.onReady();
2738
+ }
2739
+ });
2740
+ }
2741
+
2742
+ // setup styles.
2743
+
2744
+ if (styles) {
2745
+ for(let styleName in styles) {
2746
+ that.nativeElement.style[styleName] = styles[styleName];
2747
+ }
2748
+ }
2749
+ }
2750
+
2751
+ componentDidMount() {
2752
+ this.componentDidRender(true);
2753
+ }
2754
+
2755
+ componentDidUpdate() {
2756
+ this.componentDidRender(false);
2757
+ }
2758
+
2759
+ componentWillUnmount() {
2760
+ const that = this;
2761
+
2762
+ if (!that.nativeElement) {
2763
+ return;
2764
+ }
2765
+
2766
+ that.nativeElement.whenRenderedCallbacks = [];
2767
+
2768
+ for(let i = 0; i < that.eventListeners.length; i++){
2769
+ const eventName = that.eventListeners[i];
2770
+
2771
+ that.nativeElement.removeEventListener(eventName.substring(2).toLowerCase(), that[eventName]);
2772
+ }
2773
+ }
2774
+
2775
+ render() {
2776
+ return (
2777
+ React.createElement("smart-grid", { ref: this.componentRef }, this.props.children)
2778
+ )
2779
+ }
2780
+ }
2781
+
2782
+ export default Grid;