So I can tell which fields are visible on the screen by using the GetCellsInView method, but when you do a group by field, this returns nothing unless you expand one of the groups.
Is there a way to determine which fields are visible WITHOUT having to expand one of these records please?
Thanks,Doug Rees
Polo Ralph Lauren
Hello Doug,
Thank you for your post. I have been looking into it and I can say that if there is no group expanded you are not able to get the Fields that are gone be in view. I can suggest you either handle the XamDataGrid’s RecordExpnaded event and call the GetCellsInview there or handle the CellsInViewChanged event. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Yes this isn't ideal as it requires waiting for the records to be expanded.
In the end I looked at your source code and found a method marked as internal that does what we need on the Virtualizing panel called something like getfieldsinview.
It would be good if this method could be made public instead of internal, or perhaps made part of the grid itself for ease of use.
Hello,
You can suggest this as new product idea for future versions at http://ideas.infragistics.com.
There are many benefits to submitting an product idea:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
Steps to create your idea:
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.