Update a row
Hi everyone,
for my website, I have a grid table that will contain multiple rows.
I have a Add and Delete button that can add and delete rows in the table.
Each row is composed by a AW.UI.Combo and a AW.UI.Input.
What I want is to be able to add a row, select a value from the Combo, enter a text in the input, and then when adding a new row, I want the last one to be a simple row that displays the value that the user selected before (it just saves the value if you prefer, but just in the table). Then, if the user wants to change a row, when he clicks on it, the Combo and Input reappears so that changes can be made.
Right now, when I add a new line, the previous one is emptied: Combo and Input are still there but empty, that is done automatically, not from me. Also, if I am editing a row, and I click on the header of the table, then the row will also be emptied. Of course this is not what I want, it should save what you entered.
Does anyone knows how to do this?
for my website, I have a grid table that will contain multiple rows.
I have a Add and Delete button that can add and delete rows in the table.
Each row is composed by a AW.UI.Combo and a AW.UI.Input.
What I want is to be able to add a row, select a value from the Combo, enter a text in the input, and then when adding a new row, I want the last one to be a simple row that displays the value that the user selected before (it just saves the value if you prefer, but just in the table). Then, if the user wants to change a row, when he clicks on it, the Combo and Input reappears so that changes can be made.
Right now, when I add a new line, the previous one is emptied: Combo and Input are still there but empty, that is done automatically, not from me. Also, if I am editing a row, and I click on the header of the table, then the row will also be emptied. Of course this is not what I want, it should save what you entered.
Does anyone knows how to do this?
Guillaume
April 6,