enter code here
var text ='Fill' ;
if(value != undefined && value !=''){
text = Ext.Date.format(value,'Y-m-d');
}
return ' '+text+' '
this above code is link to a new page when clicking 'Fill' link . i need that 'Fill' link to be as a button. How do i define a button instead of a text as a link using extjs