![](/img/trans.png)
[英]how would a user be able to add a column and name it anything they want to my table
所以使用 angular 框架......和 angular 材料。 我希望該表具有自定義的數據表,其中用戶通過向表中添加列然后添加作為表行的項目來構建表的結構... 我如何在用戶添加新列的地方開發我的組件,並能夠為其指定他們想要的任何名稱? ...
[英]how would a user be able to add a column and name it anything they want to my table
所以使用 angular 框架......和 angular 材料。 我希望該表具有自定義的數據表,其中用戶通過向表中添加列然后添加作為表行的項目來構建表的結構... 我如何在用戶添加新列的地方開發我的組件,並能夠為其指定他們想要的任何名稱? ...
[英]Ag-grid tree data - trying to expand specific parent node but the node is undefined
我在 ag-grid 中有這樣的樹數據: ag-grid 最終以紅色、藍色和黃色作為父行,您可以單擊以展開以顯示子行,例如紅色的洋紅色和粉紅色。 現在我試圖在加載時自動擴展特定的父行。 例如,假設用戶的首選顏色是紅色,那么當加載 ag-grid 時,我希望紅色父組已經展開。 問題是我無法以編程方式 ...
[英]Click on cell display/append order of selected row in a ag grid Angular
我正在 angular 中實現帶有多選復選框的 ag-grid 網格組件.html 網格組件.ts 圖標渲染框架.ts 圖標渲染框架.html 我實現了 cellRendererFramework 來呈現圖標和徽章(設置、類型、名稱徽章)行數據,目前,cellRendererFramework 中 ...
[英]Ag-grid-angular row group tree data slow rendering
我正在使用樹數據使用Ag-grid-angular行分組。 我有大約一萬行或更多行的非常大的數據集。 我創建了一個drop-down其中有級別選項。 當我 select 級別時,所有網格組都會立即相應地expanded/collapsed 。 當我折疊或展開時,我遇到了速度緩慢和頁面凍結的問題。 展 ...
[英]Deactivate default aria settings in Ag-grid table
您好,我正在嘗試在應用程序中自定義 aria 標簽,但屏幕閱讀器正在讀取我們在表格中的 position。 Aria-labels to deactivate所以我想知道是否可以停用此功能,以及是否可以只針對一個單元格我嘗試創建一個帶有單元格渲染的自定義單元格,用於在每個單元格中自定義 aria ...
[英]AG Grid's file styles no longer available in https://unpkg.com/ag-grid-community/dist/styles
我有 angular 應用程序在 4 年前在生產中使用 Ag-Grid,突然幾天前 styles 不在那里我發現我指向 https://unpkg.com/ag-grid-community/dist/styles/ag-grid.css https://unpkg.com/ag-grid-com ...
[英]How to align ag-grid table to the center of the sceen
我是 Ag-Grid Angular 的新手,我創建了 agGrid 表格並設置寬度:800px 和高度:500px,但表格在左側對齊。 誰能告訴我如何居中對齊表格。 ...
[英]Which event handler to use for ensureColumnVisible in ag-grid?
我希望我的 ag-grid 在刷新后滾動回其原始 position,但沒有發生,所以我研究並在網格 api 中找到了這個 ensureColumnVisible。請幫助我找到解決方案。 用於此 ensureColumnVisible 的事件處理程序 ...
[英]Can we combine server-side pagination and client-side filtering in ag-grid?
我需要使用服務器端分頁和客戶端過濾。 想知道我們是否有使用 rowModelType 的任何選項。 我嘗試在適用的地方將 rowModelType 設置為“serverSide”和“clientSide”。但它不起作用。 ...
[英]Hide aggrid columns conditionally based on route/query params
我使用的是 ag-grid 版本 27.3.0,我通過將它綁定到 HTML [Coldefs]='Coldefs'來定義 colDefs,並且我在 ts 文件的數組中定義了 Coldefs。 在 HTML 中綁定 coldefs 並定義數組 in.ts 文件 現在我根據存儲在 ngOnInit() ...
[英]Ag-grid row drag property is not working in angular component
-> [rowDragManaged]="true" 此屬性在我的 ag-grid 組件中不起作用 -> 檢查來自后端團隊的圖像我在 columnDefs 中得到了 rowdrag true 屬性 ->在 UI 中的圖像 2 中也應用了它 ->但是在圖 3 中,當我在我的 ...
[英]Auto adjust row height of AG Grid in angular when other columns are hidden/shown dynamically
我正在使用 AG-Grid 版本: 21.2.1 ,由於某些原因我無法升級我的版本。 我想包裝單元格內容,以便所有內容都可見,這是我實現的。 我有按鈕來隱藏/顯示應用程序中的列。 問題是當我隱藏列時,行的高度不會根據其他列進行調整。 如果另一列被隱藏/動態顯示,我們應該如何激活網格自動調整內容? 我 ...
[英]AG-Grid Sorting wont work properly if there is 'asc' or 'desc' as cell value
在處理我的項目時,我發現了一個奇怪的問題,即如果一個單元格具有“asc”或“desc”作為值,則排序到該特定 AG-Grid 列將無法正常工作。 來自 Plunker 的問題截圖 這里按升序對“Country Desc”列進行排序會在“Zimbabwe”之后顯示“desc”相關單元格,但它應該在“D ...
[英]ColDef is unable to render in Angular
我正在嘗試在 angular 上的 ag 網格中顯示數據。但是我的 [columnDefs] 有一些問題。 <ag-grid-angular class = "ag-theme-alpine" [rowData]=rowData [rowSelection]="'multiple'" [co ...
[英]Angular ag-grid edit icon click get row data
網格設置具有多個對象數組的 colDefs 最后是我在操作按鈕組件內顯示編輯圖標的操作 action.compoment.html (ActionButtonComponent) rowData 是我傳遞的對象數組,它們顯示在網格中 單擊該行的編輯圖標時如何獲取特定行數據對象 ...
[英]AG-Grid Rendering not smooth in Safari 16.x
我們正在嘗試在 Safari 16.x 中的網格上使用自定義單元格渲染器加載數據,並且當我們滾動時,每次網格渲染都非常緩慢並且視覺效果不佳。 我們有這樣的數據: A列 B列專欄C D列一種 X C 1個一種 X C 2個一種 X 丁 1個一種 X 丁 2個一種 X 丁 3個乙 X 乙 1 ...
[英]how to add new rows and add new datas in that added new rows and pass those values to server in ag-grid angular
我正在嘗試添加新行並將新添加的行數據發送到服務器。 我的要求是我需要通過單擊添加行按鈕添加新行,在使用編輯和刪除按鈕添加空行之后。我必須在編輯后使用編輯按鈕在空行中添加 mac 地址我需要保存並傳遞這個值rowdata(已經有一些數據)到服務器表.component.html 表.component ...
[英]Ag-grid align row group to right
是否可以將行組對齊以正確對齊? 我嘗試headerClass: 'ag-right-aligned-header'但它似乎不起作用。 ...
[英]Ag-grid custom cellEditor
在 angular Ag-grid 網格中編輯數字單元格時是否可以自動添加逗號? https://www.ag-grid.com/javascript-data-grid/cell-editors/ ...
[英]React agrid flash first row in the grid when only one record is present in grid
我想閃爍網格的第一行。 我的網格只有一排。 我想在網格中加載數據並刷新單元格。 我有示例代碼。如果您注意到方法onInsertOne 。 它第一次不起作用,但當我們第二次單擊按鈕時它起作用了。 第一次如何閃爍單元格。 let items = []; gridAPI.fo ...