View Full Version : Implementing Favorite Star button in the EditorGrid

30 Dec 2010, 5:10 AM
I have a requirement to implement a Star Button for marking the particular row in the EditorGridPanel as favorite.Is there any Favorite Button control in EXT library.

OnClick of the favorite button for first time through WebService call will be inserting a record to the DB and again clicking on it will be deleting records through same web service call.So can anyone provide the code snippet for implementing this functionality for each row in EditorGridPanel.

30 Dec 2010, 6:04 AM
You can use the ActionColumn from Ext 3.3 for this (or the RowActions extension if you are using an older Ext version).

3 Jan 2011, 5:34 AM
Is there any sample which I can refer to?

3 Jan 2011, 5:54 AM
Here's something (http://www.sencha.com/forum/showthread.php?30237-Rating-Grid-Custom-Column-Renderer&p=262242#post262242) I wrote several years ago.