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
100
Rows.addNew() function does not work properly
posted

Hello,

I use version7.2.20072.61. When I use Rows.addNew()  to add a new row, it always return null. Is it a bug? Has it been fixed in new version?

  • 45049
    Suggested Answer
    posted

    Make sure that you're allowing the addition of new rows in your grid.

    You can do this on the whole grid by setting its DisplayLayout.AllowAddNewDefault property to AllowAddNew.Yes (or Infragistics.WebUI.UltraWebGrid.AllowAddNew.Yes).  You can instead set this for an individual band by setting that band's AllowAdd property to AllowAddNew.Yes.