$column = new GridTextAreaColumn();
$column->DataField = "id";
$column->HeaderText = "User ID";
$column->Width = "100px";
$grid->MasterTable->AddColumn($column);
$column = new GridCommandColumn();
$column->CommandText = "Show";
$column->OnClick = "alert('hello world')";
$column->CssClass = "button_css";
$grid->MasterTable->AddColumn($column);
$column = new GridCommandColumn();
$column->CommandText = "Show";
$column->OnClick = "alert({id})";
$column->CssClass = "button_css";
$grid->MasterTable->AddColumn($column);
With the alert({id}) that work but not with the alert('hello world')
Any idea?
ref: KoolGrid version 5.6.0.1