Can we add link button custom style via javascript?
because for now there are
no properties or options in linkbutton to do that,
and there are
no method to attach ID either custom css class..
i have linkbutton generated
by datagrid toolbars system and i want to change a linkbutton border size dynamically via javascript.
how to do that?
code:
$('#DATAGRID_LIST').datagrid({
data : DATA_DETAILS,
singleSelect : true,
fit : true,
toolbar : [{
plain : true,
text : 'Add Package',
iconCls : 'icon-vendor',
style : 'float:right;border:2px solid black', // <<<< not working
handler : function(){alert('Add Package')}
}],
columns:[[
{field:'PACKAGE_GROUP_ALIAS',title:'Package',width:160,align:'left'},
{field:'ATTACHMENT',title:'Attachment',width:460,align:'left'},
{field:'SPEC_DESC',title:'Type / Location',width:350,align:'left'},
{field:'ON_PENDING',title:'Status',width:100,align:'center'}
]]
});
Thank you in advance