Skip to Content
0

how to set the table row editable

Apr 07 at 05:56 PM

65

avatar image

my code is

<cells> <!--<Text text="{OdataSer>ID}"/>--> <Input value="{OdataSer>ID}" editable="false"/> <Input value="{OdataSer>Name}" editable="false"/> <Input value="{OdataSer>Rating}" editable="false"/> <Input value="{OdataSer>Description}" editable="false"/> <HBox> <Button text="edit" press="editdata_new_all"/> <Button text="Delete" press="deletedata"/> </HBox> </cells>

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Drushya S Apr 08 at 08:53 AM
0

Remove editable property from input field or make it true

Share
10 |10000 characters needed characters left characters exceeded
Bhaskar Burra Apr 10 at 01:56 AM
0

why do you have one text field and 3 input fields? you should have one text field for each input filed and

the Logic is, on press of the edit button you switch from read only view to edit view. make the texts invisible (visible =false) and make the input field visible.

Share
10 |10000 characters needed characters left characters exceeded