Hi Team,
To add a new record in a ListGrid, we need to always show an empty row in the ListGrid itself. In other words, in the list grid, along with the fetched records, there should be a blank row. The user should be able to enter values in it and it should get saved in the DataSource.
Could you please guide us as to how should we go ahead with this requirement.
Note: We are able to add a new blank record by listGrid.startEditingNew() on click of a button (outside of listgrid). But in this case the editable record gets removed once the focus is lost from this new record (it cannot even be selected). We want the new editable record to be present always so that we can also paste the values in that from other records.
We are using SmartGwt version 6.1-p20170724.
Thanks
To add a new record in a ListGrid, we need to always show an empty row in the ListGrid itself. In other words, in the list grid, along with the fetched records, there should be a blank row. The user should be able to enter values in it and it should get saved in the DataSource.
Could you please guide us as to how should we go ahead with this requirement.
Note: We are able to add a new blank record by listGrid.startEditingNew() on click of a button (outside of listgrid). But in this case the editable record gets removed once the focus is lost from this new record (it cannot even be selected). We want the new editable record to be present always so that we can also paste the values in that from other records.
We are using SmartGwt version 6.1-p20170724.
Thanks
Comment