Skip to content

Commit d099d3b

Browse files
committed
Updated the DataGrid to fire onCheckbox events when a checkbox header is checked/unchecked
1 parent c593214 commit d099d3b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/datagrid/DataGrid.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ javaxt.dhtml.DataGrid = function(parent, config) {
692692
table.disableScroll();
693693
};
694694

695-
695+
696696
//**************************************************************************
697697
//** isScrollEnabled
698698
//**************************************************************************
@@ -776,6 +776,7 @@ javaxt.dhtml.DataGrid = function(parent, config) {
776776
table.clear();
777777
currPage = 1;
778778
pageRequests = {};
779+
if (checkboxHeader) checkboxHeader.uncheck();
779780
};
780781

781782

@@ -1189,6 +1190,8 @@ javaxt.dhtml.DataGrid = function(parent, config) {
11891190
checkbox.deselect();
11901191
}
11911192

1193+
me.onCheckbox(row.record, checked, checkbox);
1194+
11921195
});
11931196
//me.onSelectionChange();
11941197

0 commit comments

Comments
 (0)