Dear all,
I am trying to achieve the following scenario and I don't seem to be able to do so using the known to me SmartGWT classes/functions. It might be an unsupported scenario, so please let me know it this is the case :D
I have a ListGrid with multiple ListGridFields set up. All of them have a SelectItem defined as their EditorType items. Especially for the first column of the ListGrid I would like to achieve a special edit/add functionality. If the user adds a new row, the new row should enter editing mode and the first column should allow, through its Selectitem, the selection of one of the available values. If the user double clicks on an existing record, the record should enter into editing mode and the first column should be non-editable by the user. In essence, I want the first column of a record to be either editable - using the SelectItem - when it is freshly added to the ListGrid, or non-editable, when it is updated. I fail to achieve this by using setCanEdit for the field according to the action. Any better idea? Is this even possible?
Thanks in advance for your suggestions!
I am trying to achieve the following scenario and I don't seem to be able to do so using the known to me SmartGWT classes/functions. It might be an unsupported scenario, so please let me know it this is the case :D
I have a ListGrid with multiple ListGridFields set up. All of them have a SelectItem defined as their EditorType items. Especially for the first column of the ListGrid I would like to achieve a special edit/add functionality. If the user adds a new row, the new row should enter editing mode and the first column should allow, through its Selectitem, the selection of one of the available values. If the user double clicks on an existing record, the record should enter into editing mode and the first column should be non-editable by the user. In essence, I want the first column of a record to be either editable - using the SelectItem - when it is freshly added to the ListGrid, or non-editable, when it is updated. I fail to achieve this by using setCanEdit for the field according to the action. Any better idea? Is this even possible?
Thanks in advance for your suggestions!
Comment