iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Scenario: UXGridView tied to a PagedCollectionView
When the PagedCollectionView is tied to an underlying <ObservableCollection>, and the collection is cleared and re-loaded, the UXGridView entirely loses the column footers and they become blank.
Is there a trick to not losing the footers in this situation, or a setting that I'm missing? I've tried doing a PagedCollectionView.Refresh() to no avail, and can't seem to have the footers just stay in place and get updated like they do on initial display.
Apologize for the delay in sending this.
I created a simple project of UXGridView based on your description.
..., and the collection is cleared and re-loaded, the UXGridView entirely loses the column footers and they become blank.
Could you please kindly modify my sample by applying "cleared and re-loaded" until reproduce the reported problem. Please send back the modified sample to us to be investigated further.
Yudi,
See attached for an updated sample that exhibits this behavior.
Basically, implemented a command that does a .Clear(); and then adds new elements to the collection. Cells update fine, the footers however go blank as initially reported.
Let me know if you need anything else.
I made a minor modification to the UXGridViewObservCollStruct Modified.zip file. The modifications are made on the UXPage1ViewModel.cs.
On the UpdateData() method, after clear-ing the existing data I created a new collection of MyData and assign this data to GridDatafin.
ObservableCollection data = new ObservableCollection(); data.Add(new MyData { keyword = "keyword10", sources = "sources10", TestVal = 10 }); data.Add(new MyData { keyword = "keyword11", sources = "sources11", TestVal = 11 }); data.Add(new MyData { keyword = "keyword12", sources = "sources12", TestVal = 12 }); ... data.Add(new MyData { keyword = "keyword19", sources = "sources19", TestVal = 19 }); this.GridDatafin = data;
For more detail, please check the attached UXPage1ViewModel.cs file. Feel free to let us know if you have different result.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname