-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comparator not responding in ag-grid #3658
Comments
Hi, We don't see this as a bug - this is expected behavior. The code in the comparator is executed when you sort the column. Please click the column header and the console will display the results of the individual comparisons of the cell values. {headerName: "First Name", field: "firstName", comparator: (valueA, valueB) => {
ag-grid staff does not provide support through github. If you have any further questions and are a customer please contact us through our official support channel. Note that this issue has been flagged as managed-by-the-community, we also recommend you to check stackoverflow, note that if there is no activity on this issue after a while we will close it. Thanks |
Hi, I was talking about when the column is sorted. It still doesn't work. Anyways if you don't provide support through GitHub, it's alright. |
Comparator does not work in TypeScript. Tired using a simple console log, but no response. I am raising this as a bug.
userCols = [
{ headerName: 'First Name', field: 'firstName', width: 125, sortable: true, filter: true, resizable: true,
comparator: (valueA, valueB) => console.log(valueA, valueB) }];
The text was updated successfully, but these errors were encountered: