To position AgGrid's total row at the top, you can use the property floatingTopRowData
and set it to an array containing the data for the total row. This will create a floating top row that will always be displayed at the top of the grid. Here's an example:
gridOptions = {
// other grid options...
floatingTopRowData: [totalRowData],
floatingTopRow: true
};
Make sure to set floatingTopRow
to true
as well, as this enables the floating top row feature. You can customize the appearance of the floating top row using CSS.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-08-01 11:00:00 +0000
Seen: 17 times
Last updated: Jun 29 '21
What is the information regarding the finished job in Sun Grid Engine?
What is the method for flipping the order of CSS grid columns?
What is the correct way to apply a UWP C# subclass of Grid?
What is the process to generate a grid by utilizing input functions within tkinter?
What is the process for developing a JTable that has both row and column headers?
Is it possible that there are some missing values when combining across columns?
What is the method of applying a data filter specifically to the table range and not the entire row?
What is the method for computing the overall sum of a dataframe, excluding a singular row?
What is the process for reading a csv file and extracting the second element in each row?