Hi,
I am using Hierarchical grid. I want to search with Parent and child data both at a time. Is it possible? If yes, then how we can do that. If no, then how to search with only child data? I want to search Grid data using textbox, that is custom search. Please let me know how to do a custom search in hierarchical grid.
Also I want to know how to apply the custom filter to that hierarchical grid.
Please let me know the solution with example.
Thanks in Advance!
Hello Vaishnavi,
Thank you for contacting Infragistics Support.
This is an initial update to let you know that we have received your support request regarding searching in a hierarchical grid and I am currently looking into this matter for you. I will keep you posted on my progress and I will get back to you soon with more information or questions for you.
Please feel free to continue sending updates to this case at any time.
Regards,
Malin Hadzhiev
Entry Level Software Developer
Infragistics
Hi Malin,
I just wanted to check is there any update on my query? Please let me know, because of have to implement it in my project.
Hello,
After investigating this matter further and doing some research, searching with both parent and child data at a time has been determined to be a feature request. You can submit a feature request in our GitHub repository here.
Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case.
This will give you the opportunity to directly communicate with our development team regarding the issue and get notifications whenever new information is available.
Please let me know if you need any further assistance.
Regards, Malin HadzhievEntry Level Software DeveloperInfragistics
Thanks for your response.
Can you tell me how to search only with Child data? It will be helpful for me.
Also, I want to know how to apply the custom filter to that hierarchical grid.
Please let me know the solution with some example.
We are trying to use custom filter in the hierarchical grid. Meaning, selecting some of the value from the column and apply it to the whole hierarchical grid.
In iggrid we are using $("#grid1").igGridFiltering('filter', (this.filters)); to set the filter value, and to get the filter in controller we are using the following:-
HttpContext.Request.Query["$filter"].ToString();
So, in the similar manner I want to use it in hierarchical grid.
There will be some of the checkbox outside the hierarchical grid, if we click on some of the checkbox and apply filter then it should apply to the grid.
Hope this answers your question.
Please let me know the solution.
I have been looking into your question and prepared a small sample that you might consider useful. It could be found here. Following the guidelines provided in the Template section of the Excel Style Filtering topic, I am using the igx-grid-excel-style-filtering, igx-excel-style-column-operations and igx-excel-style-search components in order to achieve your requirement.
Please test the sample on your side and let me know how it behaves. If this is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me along with steps to reproduce.
Having a working sample on my side, which I can debug, is going to be very helpful in finding the root cause of this behavior.
Thank you for your cooperation.
Looking forward to hearing from you.