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
1250
Hiding the AddNew row based on data value.
posted

I have a need to hide or show the addnew row of the child records of a parent based on a value in the parent. I've got it all working using a data trigger which just sets the visibility to collapsed. The problem I am having is that the addition icon is still showing up as displayed below. How do I collapse this as well?

 

Parents
  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I assume you set the Visibility to the DataRecordCellArea and the add icon is a child of the DataRecordPresenter, which contains the DataRecordCellArea, too, so my suggestion is to set the Height property of the DataRecordPresenter instead of the Visibility of the DataRecordCellArea. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

Reply Children
No Data