Here is my code:
function formatLink(cellvalue, options, rowObject) {
return "<input type='button' value='test'
onClick='javascript:test(\""+options.rowId+"\")'/>";
}
Terry.
Johannes Geppert wrote:
>
> great!
>
> can you contribute the sources?
> if possible i add this to the wiki.
>
>
> Johannes
>
>
>
> cellterry wrote:
>>
>> Yes, it works!
>>
>>
>> Johannes Geppert wrote:
>>>
>>> Hi Terry,
>>>
>>> I think this is this is possible, but only with some handmake
>>> javascript. take a look at the custom formatters, I think this
>>> is the right way.
>>>
>>> http://code.google.com/p/struts2-jquery/wiki/FormatGrid
>>>
>>> Johannes
>>>
>>>
>>> cellterry wrote:
>>>>
>>>> Dear all,
>>>>
>>>> For Struts2 jQuery Plugin,
>>>>
>>>> could I add edit and delete buttons on each row of the table using sjg
>>>> tag?
>>>>
>>>> If not, how do I implement edit & delete functions using this grid?
>>>>
>>>> Terry.
>>>>
>>>>
>>>
>>>
>>
>>
>
>
--
View this message in context:
http://old.nabble.com/Implement-Edit-and-Delete-functions-in-Struts-jQuery-Grid-tp29979285p30006080.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]