Open keeday opened 1 month ago
Hi, It can't get the popup window background color from the parent (windows) try to set the "FilterPopupBackground " property of Filterdatagrid. It can't find the "Window" object because you are using a page. do the test and tell me if the error still appears.
I didn't plan to use the pages as a parent.
Hi, It can't get the popup window background color from the parent (windows) try to set the "FilterPopupBackground" property of Filterdatagrid. It can't find the "Window" object because you are using a page. do the test and tell me if the error still appears.
I didn't plan to use the pages as a parent.
Hi,
Yes, sorry I forgot to mention, FilterPopupBackground
is set, and makes not difference in regards to the errors.
It sets the background fine, and everything seems to function as intended both visually and functionally. The issue ends up being that performance takes a big hit during initialization of the DataGrid when in a page.
Hi, I (maybe) found a solution to fix the "background" property bug, I'll commit it soon. However, using "Page" does not cause errors.
Hi, I (maybe) found a solution to fix the "background" property bug, I'll commit it soon. However, using "Page" does not cause errors.
Strange. I will try to replicate the issue in a fresh project. I should not have anything that would interfere, but it might be worth checking.
Hi,
Whenever I use the DataGridFilter within a page, that in turn is hosted within a frame, I get following errors
This only happens when a column have
IsColumnFiltered="True"
From what I have been able to determine, it's that the filter popup is expecting a window to be the ancestor, when in my case, it's a frame / page.
Everything works fine visually and functionally, however, the biggest issue is that this seems to cause major performance issue during initialization. When I load the dataset I'm currently working with on a page, the loading time is roughly 13-17 seconds.
When I use the exact same dataset and DataGrid setup in a window, the loading time is around 2-4 seconds.
There's no difference between the page and the window, other than that the window is a window, and the page is a page hosted within a frame.