Posted 1 October 2017, 10:37 pm EST
Hello,
C1TrueDBGrid.SaveLayout does not work when the grid contains one or more unbound columns.
Thanks
Richard
Forums Home / ComponentOne / WinForms Edition
Posted by: richardcastro2003 on 1 October 2017, 10:37 pm EST
Posted 1 October 2017, 10:37 pm EST
Hello,
C1TrueDBGrid.SaveLayout does not work when the grid contains one or more unbound columns.
Thanks
Richard
Posted 3 October 2017, 6:46 am EST
Hi Richard!
I tried the same with the latest build, and it is working well at my end. Kindly modify the attached sample replicating the issue, so that I can help you further with this.
Regards,
Meenakshi
Posted 3 October 2017, 9:49 pm EST
Hello Meenakshi,
I compared your sample with mine. I found what causing the problem was that I added a type to an unbound column.
Col.DataType = Type.GetType(“string”);
Thanks a lot. I works now!
Richard
Posted 3 October 2017, 9:50 pm EST
Hello Meenakshi,
I compared your sample with mine. I found what causing the problem was that I added a type to an unbound column.
Col.DataType = Type.GetType(“string”);
Thanks a lot. It works now!
Richard
Posted 5 October 2017, 5:44 am EST
Thank you for sharing your observations here. I am glad to know that the issue is resolved.
Regards,
Meenakshi