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
170
How to share a common fieldsettings among fields of different fieldlayouts?
posted

I have several fieldlayouts each which share some common fields, is there away i declare a fieldsettings once and resuse it with any field wherever I want? 

For example I have a common field settings that specify the CellMinWidth
and CellMaxWidth 
for a field, currently I have to declare this in every common filed of every layout.

                    <igDP:Field.Settings>
                        <igDP:FieldSettings AllowEdit="False" CellMinWidth="150" CellMaxWidth="150" CellClickAction="SelectRecord"/>
                    </igDP:Field.Settings>

Parents
  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking through it and I suggest you put the following code in your XamDataGrid:

     

    <igDP:XamDataGrid.FieldSettings>
        <igDP:FieldSettings CellMinWidth="100" CellMaxWidth="150" AllowEdit="False"/>
    </igDP:XamDataGrid.FieldSettings>
    

     

    to achieve your goal. Please let me know if this helps you or you need further clarifications on this matter.

     

    Looking forward for your reply.

Reply Children