Login Register

Trying to return a tundra button in grid

Hey, i am having an interesting problem. I am rerturning a button to a cell in the grid with the "get:" property. The function that i am calling is below.

This IS WORKING:

function getCellContent102(inRowIndex)
{
x=inRowIndex;

var but = "Refresh";

return but;

}

but this IS NOT WORKING:

function getCellContent102(inRowIndex)
{
x=inRowIndex;

var but = "Refresh";

return but;

}

I've thought maybe i can override it in the css with a "mygrid" class and tundra on the div, but the tundra css for buttons is pretty dense, and not sure if the work of separating it out would work anyway... my div looks like this: