Hello,
Thanks you Tom it was very usefull for me.
Could you help me with another problem?
I ned to feed a grid's column's cells with a combobox, a checkbox or a textbox, depending of a concrete value i'm reading from database.
In order to do this I've created a grid with 5 columns, the first column is always visible and others columns are always invisible (the second column type is select, third is checkbox, fourth is textbox and the fifth column has the codes selected in the combo just in case you use it) . The first column contains the value fed by the hidden columns.
I use the code “plantillaGrid.editGridRow( numFila, {height:280, bSubmit: “hola”,reloadAfterSubmit:false} )” to edit a row and, depending the row I select, I hide or show one of the columns wich are hidden in the original grid.
For example I've a grid like this.
1st record has to be a checkbox
2nd record has to be a multiple select
3rd record has to be a textbox
When I edit the first record I hide the first column and show the third one. I check the checkbox and when I click Submit button, the selected row has to be changed according to the values I've entered in the window opened by the editGridRow sentence. After doing this, the first column must be updated to “Yes”.
When I edit the second record I hide the first column and show the second one. I select all the values I want in the combobox and, when I click in submit button, after updating the row, I