Hello,
Does anybody know why autosize width for columns in a grid datawindow would work in the painter preview mode but wouldn't in a window at runtime? PB2017 build 1681.
Best regards,
Konstantin
Hello,
Does anybody know why autosize width for columns in a grid datawindow would work in the painter preview mode but wouldn't in a window at runtime? PB2017 build 1681.
Best regards,
Konstantin
This was tracked as Bug 1235.
Hey, Konstantin -
Can you please mark this issues as resolved?
Thanks,
Olan
Hi Konstantin,
I have tested it as well. It seems that the problem is that it is saving the setting (width.autosize=3
) but if you open the DataObject again, it is not respecting the setting in Design View. That's also true for runtime.
As a workaround you may set the Autosize property on your code like this: dw_control.Object.controlname.Width.Autosize
. You can set that value to an Integer:
Also, as Chris mentioned, please open a Support Ticket.
Regards,
Hi Konstantin;
I tested this feature out this morning in PB 2017 R2 build 1769 and it does not work at run-time as you described.
Please open a support ticket for this issue ...
Regards ... Chris