Great content. Not sure if another video covers this but how do I go about setting a default filter for a given column. I have tried several things and it appears to work initially but then immediately the grid re renders and the filter is cleared?
Hi, not sure how you are trying to do it. But there is an example of using the set filter model here: www.ag-grid.com/react-data-grid/filter-api/#example-filter-model Filtering is covered in this video th-cam.com/video/pebXUHUdlos/w-d-xo.html
@@agGrid thank you for the response and resources. I actually am using setFilterModel which sets the filter modal based on a piece of state. The setFilterModal is within a useEffect and works great except on initial loading when it appears to apply the filter but then quickly clears it. I’ll take a look at the videos and see if I’m doing something wrong. I also tried adding the logic to setOnInitialRender. Thank you 😊
There is nothing different with AG Grid ref's and any other type of ref, this question is more a generic 'how to pass data between components' question for React.
Hi - are you referring to column header tooltips? If so, you can use the headerTooltip Column property to configure this: ag-grid.com/javascript-data-grid/column-properties/#reference-header-headerTooltip.
nice to see new videos after 2 weeks off from work :-)
How about loading the columns from a json object?
Hello, how can I set the height, width of the row or column dynamically using input
My approach would be:
In the
@@LukiausdemKaff Thank you for your help I will try it
Hello) a great video, like as useally) Say something -how I can merge parent and child cells???
Amazing thanks CEO
you are very welcome :)
how to get sum of column in ag-grid on each page
Great stuff! Thanks
most welcome :)
which version of ag-grid provide the column tooltip
Both community and enterprise
Great content. Not sure if another video covers this but how do I go about setting a default filter for a given column. I have tried several things and it appears to work initially but then immediately the grid re renders and the filter is cleared?
Hi, not sure how you are trying to do it. But there is an example of using the set filter model here: www.ag-grid.com/react-data-grid/filter-api/#example-filter-model
Filtering is covered in this video th-cam.com/video/pebXUHUdlos/w-d-xo.html
@@agGrid thank you for the response and resources. I actually am using setFilterModel which sets the filter modal based on a piece of state. The setFilterModal is within a useEffect and works great except on initial loading when it appears to apply the filter but then quickly clears it. I’ll take a look at the videos and see if I’m doing something wrong. I also tried adding the logic to setOnInitialRender. Thank you 😊
Hi sir i am newly one for your video,i have one doubt,how to set status green and red colour if active is true green and inactive is false
for something inside your cell, use a cellRenderer, or to change CSS (ie add a CSS class to the cell) then use cssClassRules
Hi,
How to get ref object of ag-grid from parent class component
There is nothing different with AG Grid ref's and any other type of ref, this question is more a generic 'how to pass data between components' question for React.
how to add column tooltip while mouse hovering over the column cell of row
Hi - are you referring to column header tooltips? If so, you can use the headerTooltip Column property to configure this: ag-grid.com/javascript-data-grid/column-properties/#reference-header-headerTooltip.
how to remove the border in case pinned property
ag-grid is great
How can I set custom tooltip to header