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
610
AllowAddNew without adding an empty row by default
posted

Hi,

I have have missed one very simple configuration, but haven't been able to find it -- in my grid xaml file, I set AllowAddNew="True" for FieldLayout.  It now displays one empty record besides existing rows in the grid. Is there any way I can hide that new row? I would like to add a row programmatically.

Thanks,

Yu

Parents
No Data
Reply
  • 27093
    posted

    Hello Yu,

     

    The AllowAddNew property is only used for adding records through the UI, meaning the property shows the AddNewRecord. If you set the property to False you will get rid of the record, however this will not prevent you from adding new rows to your DataSource.

     

    Please let me know if you require any further assistance on the matter.

Children
No Data