I use rowwidget to display extra data for every row in my grid, for example: panel, but when I resize my grid or when the grid have a vertical scrollbar the size of the widget (width) remains the same, Is there any way to change the width of the widget automatically? I mean like a layout for the rowwidget plugin?

PHP Code:
config.plugins=[{
        
ptype'rowwidget',       
        
widget: {
          
xtype'panel',/* I want it's width as the plugin width even when resizing the grid*/
          
items: [],
          
height50,
          
style: {
                    
'border''solid 1px green'
                
},          
          
bind: {

          }          
       }        }]; 
img11.png