ag-grid-angular

Angular Ag Grid Single Click Issue with IE 11

 ̄綄美尐妖づ 提交于 2019-12-04 06:04:23
问题 I am using Ag Grid enterprise version 17.0 with Angular 5. I have enabled single click edit option. It works perfectly in Chrome on single click but it is not working in IE 11. I have to click multiple times to get the cell in edit mode. Can anyone please help me to fix the issue ? Please find the below code which I am using for custom input texts. I have manually added click and dblclick events for it work in IE 11. this.gridOptions.suppressClickEdit = false; this.gridOptions.singleClickEdit

Set new column definition by setColumnDefs doesn't work anymore

北城余情 提交于 2019-12-01 17:43:41
问题 I'm trying to set new column definitions by calling setColumnDefs using the grid API. This doesn't work as expected. The names of the column headers will not be updated anymore! See this Plunkr: Version 19.1.x Version 19.0.0 is latest working version. See this Plunkr: Version 19.0.0 For me it seems to be a bug!? In my project I'm using Angular 5 and I notice the same behaviour. 回答1: I was able to reproduce your behaviour. The following (dirty) workaround works: gridOptions.api.setColumnDefs([

Angular Ag-Grid: Undo selected row changes on button click

柔情痞子 提交于 2019-11-27 09:39:11
Application built on Angular and Javascript. AG-Grid editable records having 1st column as Checkbox. After making any changes say on 5 records, after selecting checkbox for any particular record, on click of button Say <button name="Undo Changes" (click) = "undoFn()/>" Need to undo the changes made, and reload the previous data for that particular records(row) only, not the entire grid. Button is not inline with all records like a seperate column. There is only 1 button that too outside the Grid Once again in short- Need To refresh only particular row whose checkbox has been checked, on click

Angular Ag-Grid: Undo selected row changes on button click

拜拜、爱过 提交于 2019-11-26 14:48:13
问题 Application built on Angular and Javascript. AG-Grid editable records having 1st column as Checkbox. After making any changes say on 5 records, after selecting checkbox for any particular record, on click of button Say <button name="Undo Changes" (click) = "undoFn()/>" Need to undo the changes made, and reload the previous data for that particular records(row) only, not the entire grid. Button is not inline with all records like a seperate column. There is only 1 button that too outside the