BoldDeskHelp desk software with unlimited agents starts at $99.
Try it for free.
I want to store sfDataGrid column size & position and then load that next time.
Can you provide source code for this? We are using latest version 20.3460.0.47 in .Net framework 4.8 application.
Your requirement to
Store/Restore the size and order of the columns will be achievable by using the
Serialization/Deserialization support of our SfDataGrid.
Store / Serialization:
using (var file = File.Create("DataGrid.xml"))
SerializationOptions options = new SerializationOptions();
options.SerializeColumns = false;
Restore / Deserialization:
(var file = File.Open("DataGrid.xml", FileMode.Open))
DeserializationOptions options = new DeserializationOptions();
options.DeserializeColumns = false;
For more information related to Serialization/Deserialization, please refer to
the below user guide documentation link,
If we misunderstood your requirement,
please provide more information regarding the requirement. This would help us
If this post is helpful, please consider Accepting it as the
solution so that other members can locate it more quickly.