Is there a way to translate column names in datagrid filters? - material-ui

🖖, I have been looking for a way of adding localization to the column field names in filters in Datagrid and I couldn't find the way, can you give me a hand with this, cheers.
Filters modal

Related

algolia search box: how to add filters within searchbox

I am using lagolia and have categorie field in the record added as facet and also location field
I want to create a search box something like
How can i do this
With both of those, the easiest way is going to be to use InstantSearch.js and the built-in widgets.
For the Categories, you'll use the refinementList widget. This will pull the categories based on the attribute name for the data. You can use the templates property to define how the categories get displayed.
GeoSearch will always be a bit trickier. To do this with InstantSearch, you'll want to refine your search based on Latitude and Longitude. You can create a custom parameter to be inserted into the search when search is run. To do that, you'll customize the searchBox widget with the queryHook parameter. In the query hook, you can add the aroundLatLng parameter to your search.

Join filter panels as one

Need to add Filter panels as a vizualation and combine it as one
Just drag and drop fields together. Remember that auto suggester can set chart in such a scenario just change to Table. In table you can make selections of all fields together,

AG-Grid: Add and remove columns in column groups while maintaining the state of other columns

I have a table built with AG Grid which needs to display different columns depending on the type of data we give it. This is proving slightly difficult, as I can't find a proper interface in AG Grid which allows you setup new columns in existing column groups, and without blowing up user-driven changes (hidden columns, resizing, pinning, etc).
The biggest issue is that I can't figure out how to access column group definitions.
gridOptions.api.getAllColumns()
This function from aggrid does not directly provide column groups, just the child columns. Looping through the columns via this function, they have a parent property, but that does not include the coldef for the column group, which means there isn't even really a way to reconstruct the coldef based on the data you get from it (also, the parent property is private in typescript).
Here is a rough plunker, modified from one of the ag grid documentation examples which illustrates it
https://plnkr.co/edit/C8TrwlkFDg5O5V1RJkng?p=preview
I did try having all the columns present in the table at all times, and hiding them programmatically based on the incoming data, however that creates several issues with the default column show/hide functionality (you can manually show the invalid columns). Using the initial coldefs won't work too well either, since that will discard any modifications the user has made to the columns.
Is there anyone out there who can point me in the right direction?

How to create a repeat group of fields with Gravity Forms

I know gravity forms has list field but it's not like what's on this page https://smithpowerproducts.com/parts-request/. How to create something like this? Has a ADD and REMOVE button to add and remove a group of fields?
Not identical but a comparable solution that might be a better fit for this many fields anyways:
https://gravitywiz.com/documentation/gravity-forms-nested-forms/

Have a jcombobox filter a jtable

following this tutorial http://www.netbeans.org/kb/docs/java/gui-db-custom.html#enhancements
it shows how to use a textbox to filter out the master table. Could anyone instruct me on how to do a similiar thing but use a dropdown to test against a specific column?
(ie a dropdown of countries, to filter by the country column?
thanks
depending on what the source is for the dropdown.
i assume the dropdown isn't used as part of the Jtable itself, but merely shows a list of unique data coming from one column of data?
in that case, you could get the Jtable's datamodel, and then walk through all the cells in the particular column, putting them in a hashmap with the string as the key. that way you have a list of (unfiltered) unique strings to use as the datamodel for the dropdownbox.
You could attach a model listener to the talbedatamodel to know when your list has to be updated as well.