My first use case is simple. I need to format an HTML paragraph calculated with the content of the record. I've solved this by having one field with a formatCellValue(value,record,row,col,grid) and using the record to calculate the paragraph content.
Now I'm trying to add "EDIT" and "DELETE" buttons to each record. There isn't a Button type. I'm still playing with the "Link" type, and my issue is how to best remember which record the link is associated with. I haven't found an example of this anywhere in the documentation. Have I missed it somewhere?
The EDIT needs to pop-up a modal dialog, so I can't use the startEditingNew() inline editing method. The Delete needs to mark the record for deletion (and I want the link to switch to "RESTORE" or something to undo the delete).
I'm trying to get the link to call a custom javascript function with record as the parameter.
Now I'm trying to add "EDIT" and "DELETE" buttons to each record. There isn't a Button type. I'm still playing with the "Link" type, and my issue is how to best remember which record the link is associated with. I haven't found an example of this anywhere in the documentation. Have I missed it somewhere?
The EDIT needs to pop-up a modal dialog, so I can't use the startEditingNew() inline editing method. The Delete needs to mark the record for deletion (and I want the link to switch to "RESTORE" or something to undo the delete).
I'm trying to get the link to call a custom javascript function with record as the parameter.
Comment