dimanche 31 mai 2020

Rails and JQuery-Load DB data into Textfields for save and delete

I have below data in database.My requirement-I have two options in dropdwon Get and Set. If i select Set option from dropdown , textfields along with checkbox needs to be created inside table dynamically with values of database ParaName,Datatype,Values as below.User can edit and delete records by selecting checkbox.I am new to ruby on rails.Can someone help,how to implement this?

UI Design look like below format

 ParaName DataType  Value

Textfield1 Textfield2 Textfield3  
TestData1   String     test      Checkbox
TestData2   boolean    true      Checkbox
TestData3   int        3         Checkbox

Button   Button
Save     Delete

DATABASE

ParaName|DataType|Value
TestData1|String  |test
TestData2|boolean |true 
TestData3|int     |3

Thanks, Suba

Aucun commentaire:

Enregistrer un commentaire