Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
Save UltraWinGrid.DisplayLayout over DataSource changes
posted
Hello, I can configure columns of an UltraWinGrid at design time, but whenever I set the DataSource this configuration will be overwritten even though the DataSource matches the configuration. Lets say I have defined a Band with two colums "customer" and "amount" - a string and an decimal value. At design time I set the CellActivation of column "customer" to NoEdit and the MaskInput of column "amount" to "-nn.nn". The scale of the amount in the DataSource is 28. When I set this DataSource at runtime my configuration will be changed by inference from the DataSource, i.e. the aoumnt is displayed with 28 decimal places and customer is editable. Can I avoid this? I know that this will be a problem, if the DataSource doesn't match the design time schema but I can presume that it does. TIA, Frank