[SOLVED] Is there a simple way to save and restore changes made to a DataGridView by a user?

Answered
0
0

Before I go off and create something I was just wondering if there is a simple way in WiseJ 2 to save and restore changes made to a DataGridView by a user such as column widths, selection, order and so on.

TIA

Nic

  • You must to post comments
Best Answer
0
0

Hi Nic,

AFAIK there is no out of the box solution for saving/restoring a layout of a DGV in Wisej yet.
Maybe you could make your code into a generic extension so that others can benefit and collaborate ?
Please let us know if you need any specific support.

Best regards
Frank

  • You must to post comments
0
0

I have a need to do the same thing, I was looking at this on CodeProject.com

https://www.codeproject.com/Articles/474142/Saving-and-loading-all-control-values-to-user-sett

 

and this other one:

https://www.c-sharpcorner.com/UploadFile/52c7f5/saving-the-user-grid-changes-and-restore-the-user-setting-by/

Although, I don’t want to store them in the regular AppSettings – the applications config file as we have hundreds of users. I would probably store the settings in a database along with the user’s other settings.

  • You must to post comments
0
0

Thanks Frank. I did suspect that was the answer. I’ll see if I can come up with a “nice” extension.

Nic

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.