The top 3 questions of customers about information displayed in a datagrid:
- I want that column before that one…
- That column should have a larger width…
- I don’t want (or I want) that column visible…
And most of the times they change their mind a few times and even within one company there are several different opinions.
Wouldn’t it be nice that every user could personalize each datagrid and save those settings for him/her only?
Well I faced the above question several times in the past and created a DataGridPersonalizationManager which takes care of it all.
It is a plug-in class so it is useable with existing .Net DataGrid ‘s in the form of :
PersonalizationManager.AddGridToHandle(MyGridInstance)
I will devide the discription of the DataGridPersonalizationManager in four parts:
1. IPersonalSettings which enables saving and retrieving settings per user.
2. The DataGridPersonalizationManager itself part 1
3. The DataGridPersonalizationManager itself part 2
4. Implementing drag-drop column movement in DataGrid based on the MSDN article
First part this weekend so stay tuned...
7:26:11 PM
|