Hello,
I have a problem I am not able to identify any cause. I hope you'll can help me to point it out.
I have 2 different views :
- a list view where I list my items, with a button to create a new item and a button to view the details of an existing item.
- a detail view containing a form with the different values of the item and with an editable listGrid with a add button. Top of this view I have a "save" button and a "back to list" button.
"view details" button just calls form.editRecord(selectedRecord) and form.setCanEdit(true)
"create new" button calls form.clearValues(), form.editNewRecord() and then form.setCanEdit(true)
"save" button calls form.saveData() and then form.editRecord(selectedRecord) and form.setCanEdit(false)
"back to list" button just display again the list view
"add" button add a new editable line in the list grid
My use case is :
- open list view
- select an item and "view details"
- save (with or without modification)
- back to list
- create new item
- click on add button
The expected behaviour is to have a new editable line in the list grid. That was the result obtained with the previous SmartGWT version we used (from december 2014).
But we recently updated our version to the nov. 20th version and now, at the end, the new editable row is not created. More precisely, the new row is not visible. But if I click on a column header to sort the grid, then the line appear. But remains not editable.
I am neither able to find what can have changed between the 2 versions nor to understand why this happens or how to correct it.
Maybe could you give me a clue to help me to point out the problem? I do not know what to do...
I have a problem I am not able to identify any cause. I hope you'll can help me to point it out.
I have 2 different views :
- a list view where I list my items, with a button to create a new item and a button to view the details of an existing item.
- a detail view containing a form with the different values of the item and with an editable listGrid with a add button. Top of this view I have a "save" button and a "back to list" button.
"view details" button just calls form.editRecord(selectedRecord) and form.setCanEdit(true)
"create new" button calls form.clearValues(), form.editNewRecord() and then form.setCanEdit(true)
"save" button calls form.saveData() and then form.editRecord(selectedRecord) and form.setCanEdit(false)
"back to list" button just display again the list view
"add" button add a new editable line in the list grid
My use case is :
- open list view
- select an item and "view details"
- save (with or without modification)
- back to list
- create new item
- click on add button
The expected behaviour is to have a new editable line in the list grid. That was the result obtained with the previous SmartGWT version we used (from december 2014).
But we recently updated our version to the nov. 20th version and now, at the end, the new editable row is not created. More precisely, the new row is not visible. But if I click on a column header to sort the grid, then the line appear. But remains not editable.
I am neither able to find what can have changed between the 2 versions nor to understand why this happens or how to correct it.
Maybe could you give me a clue to help me to point out the problem? I do not know what to do...
Comment