Filters are not getting reset after loading new data to grid based on selected date - angularjs

I'm using the date field as a selection criteria for populating the grid.
I want to reset the previously applied filters once the new data is about to be loaded in grid.
However, the filters are not getting removed and the menu icon for filter is showing additional values under select boxes which is very confusing in case the grid has less number of rows. I'm using this in my angularjs website.
Please assist me in getting this resolved.
I've already opened the issue in github also. Below is the link:
https://github.com/ceolter/ag-grid/issues/606

Related

uigrid custom filter rows are note getting unselected

I have custom filters implemented in ui grid for multiple columns and this filtering works very fine.
Now when i do the Reset All Filter, it works functionally however rows which are selected for Filters remains selected. This is really disturbing. I want to deselect all rows in the filters as soon I click Reset All Filter but this is now happening.
Did anyone faced this problem??
Individually clearing selected rows for a single filter
...
$scope.gridPopupApi.selection.clearSelectedRows();
...
UI Grid filter example
http://ui-grid.info/docs/#!/tutorial/Tutorial:%20306%20Custom%20Filters

Get all rows even the filtered rows in gridpanel extjs

I have the gridpanel in extjs with filter in the header so the end-users can make the filter, updating row and then make another filter and continue updating row ...
After finishing updating the rows, the user will click on save button and send all the data to server for updating, but i can only get the visible row in gridpanel.
Could sombody show me how can i get all the updated rows (which is hidden by filter) in gridpanel using extjs?
Thanks in advance.
After checking the api document from Ext JS, I can retrieve all records including the filtered out one using getDataSource function.

How can I load a chart table with a default value in Google Data Studio?

I'm working on a Google Data Studio page which pulls data from a Google Sheet.
The use case of this page is to display the data from a row (from the Google Sheet) based on a selection made from a filter (single select dropdown).
When the Google Data Studio page loads, by default, it loads all the data from the source and displays it on the chart tables, however I would like to display a blank page and the data should load only after a selection is made from the filter dropdown.
There is a simple way to solve this problem. In the drop-down filter settings, in the "default selection" field, you can enter text by default that does not match any of the possibilities of the list items will be displayed in the drop-down list. It might be something like "-".
Thus, defining a default selection that does not exist in the list, it will start by default selected and will not correspond with any existing field, causing no information to be displayed in the table.

More than 50,000 records load ng-repeat in dropdown list in angularjs

I displayed 100 records using ng-repeat in dropdown list faster.
but,
I have to fetch more than 50,000 records using ng-repeat in dropdown list,
While fetching application is hanged and not responding needs to close a project.
How to display faster in dropdown list using ng-repeat?
No one have a time to scroll and select 50,000 records in dropdown and select. Instead use the dropdown with custom search option, it will give your users to more interactivity and performance in dropdown.
Initially render upto maximum of 500 records and display them in dropdown. Allow user to search through the drop down, when user enters the search value, based on value get those values from database and append it to dropdown.
Also you can achieve the above scenario using the following plugin.
https://github.com/axel-zarate/js-custom-select
You can use this plugin to create dropdown with custom search and make you own ajax function to get datas from server.
Hope this will help you.

How to dynamically update summary type for grid in extjs4.1

How to dynamically update summary feature for grid in extjs4.1?
In my application the grid summary will become filled at the time of loading the page, the grid by calculating a total using the summary feature. I have a combo box drop down in the screen. If a user selects from the combo box, I need to update the grid records from store and also need to update the calculated summary value using records coming from another store.
Can anybody tell me how to do that? Thanks
Assuming that yourGridItemId is the first/only grid with this itemId, the following code should work:
Ext.ComponentQuery.query('#yourGridItemId')[0].getView().refresh();

Resources