1 Reply Latest reply on Jan 19, 2007 10:33 AM by FlightGuy

    add another Row in a DG

    187_2007 Level 1
      I hope this is not a stupid QUESTION. I have a DataGrid with several Columns in it. There are 3 Rows in the DG. If I want to type another row can I do it by just typing in that NEW column?


      Click on Banner

      I want to add another row under the last one. Can someone point me in the direction?
        • 1. Re: add another Row in a DG
          FlightGuy Level 1
          To the best of my knowlege, DataGrid will only let you do anything on a row that has data behind it. What I do to accomplish this is to always have one blank row at the end. The moment the user makes a change it that row (starts putting data into it), I create another blank row. Then when they save their data, I trim the empty row off the end.

          You could, feasibly, extend the DataGrid class and build the functionality into it.