@cdmx/wappler_ag_grid 0.1.0 → 0.1.2
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.
- package/README.md +5 -2
- package/app_connect/components.hjson +6 -6
- package/dmx-ag-grid.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
Maintained by: Roney Dsilva
|
|
2
|
+
|
|
2
3
|
This Custom Module provides the below features:
|
|
3
4
|
1. Generates AG-Grid given a Data Source
|
|
4
5
|
2. Automatically sets the Filter types and Date formats
|
|
@@ -12,4 +13,6 @@ This Custom Module provides the below features:
|
|
|
12
13
|
10. Timezone setting for Date fields
|
|
13
14
|
11. Data Manipulation
|
|
14
15
|
12. Theme selection
|
|
15
|
-
13. Row Click Event Handling
|
|
16
|
+
13. Row Click Event Handling
|
|
17
|
+
14. Options to enable checkboxes for IDs for bulk select Operations
|
|
18
|
+
15. Options to enable Toggle Sliders for status fields
|
|
@@ -870,9 +870,9 @@
|
|
|
870
870
|
{
|
|
871
871
|
"name": "dmx-ag-grid-status-checked",
|
|
872
872
|
"attributeStartsWith": "dmx-on",
|
|
873
|
-
"attribute": "
|
|
873
|
+
"attribute": "row_status_enabled",
|
|
874
874
|
"display": "fieldset",
|
|
875
|
-
"title": "Status
|
|
875
|
+
"title": "Status Enabled",
|
|
876
876
|
"icon": "fa fa-lg fa-chevron-right",
|
|
877
877
|
"groupTitle": "Grid Events",
|
|
878
878
|
"groupIcon": "fa fa-lg fa-cubes",
|
|
@@ -887,7 +887,7 @@
|
|
|
887
887
|
{
|
|
888
888
|
"name": "rowStatusChecked",
|
|
889
889
|
"attributeStartsWith": "dmx-on",
|
|
890
|
-
"attribute": "
|
|
890
|
+
"attribute": "row_status_enabled",
|
|
891
891
|
"isValue": true,
|
|
892
892
|
"actionsPicker": true,
|
|
893
893
|
"title": "Action:",
|
|
@@ -904,9 +904,9 @@
|
|
|
904
904
|
{
|
|
905
905
|
"name": "dmx-ag-grid-status-unchecked",
|
|
906
906
|
"attributeStartsWith": "dmx-on",
|
|
907
|
-
"attribute": "
|
|
907
|
+
"attribute": "row_status_disabled",
|
|
908
908
|
"display": "fieldset",
|
|
909
|
-
"title": "Status
|
|
909
|
+
"title": "Status Disabled",
|
|
910
910
|
"icon": "fa fa-lg fa-chevron-right",
|
|
911
911
|
"groupTitle": "Grid Events",
|
|
912
912
|
"groupIcon": "fa fa-lg fa-cubes",
|
|
@@ -921,7 +921,7 @@
|
|
|
921
921
|
{
|
|
922
922
|
"name": "rowStatusUnchecked",
|
|
923
923
|
"attributeStartsWith": "dmx-on",
|
|
924
|
-
"attribute": "
|
|
924
|
+
"attribute": "row_status_disabled",
|
|
925
925
|
"isValue": true,
|
|
926
926
|
"actionsPicker": true,
|
|
927
927
|
"title": "Action:",
|
package/dmx-ag-grid.js
CHANGED
|
@@ -163,12 +163,12 @@ dmx.Component('ag-grid', {
|
|
|
163
163
|
// Code for when the checkbox is checked
|
|
164
164
|
this.set('id', idValue);
|
|
165
165
|
this.set('fields', {"field": columnName, "data": value});
|
|
166
|
-
this.dispatchEvent('
|
|
166
|
+
this.dispatchEvent('row_status_enabled')
|
|
167
167
|
} else {
|
|
168
168
|
// Code for when the checkbox is unchecked
|
|
169
169
|
this.set('id', idValue);
|
|
170
170
|
this.set('fields', {"field": columnName, "data": value});
|
|
171
|
-
this.dispatchEvent('
|
|
171
|
+
this.dispatchEvent('row_status_disabled')
|
|
172
172
|
}
|
|
173
173
|
};
|
|
174
174
|
function clickCellRenderer(params) {
|
|
@@ -543,8 +543,8 @@ const cstyles = this.props.cstyles
|
|
|
543
543
|
row_clicked: Event,
|
|
544
544
|
row_checkbox_checked: Event,
|
|
545
545
|
row_checkbox_unchecked: Event,
|
|
546
|
-
|
|
547
|
-
|
|
546
|
+
row_status_enabled: Event,
|
|
547
|
+
row_status_disabled: Event
|
|
548
548
|
},
|
|
549
549
|
|
|
550
550
|
render: function(node) {
|