Hi,
i ran into a problem when my data contains german "umlaute"
As you can see in the attached image i have a form with 2 grids grid_PRJ and grid_TITEL (master/detail).
I can e.g. choose the second and the fourth row in the master grid,
all other rows (containing "Umlaute) do not refresh the detail grid.
I use the modified code of Master-Detail-Example.
<script type="text/javascript">
function Handle_OnRowSelect(sender,args)
{
//Prepare to refresh the grid_order.
var _row = args["Row"];
grid_TITEL.attachData("PRJ_selected",1);
grid_TITEL.attachData("PRJ_KEY",_row.getDataItem()["PRJ_KEY"]);
grid_TITEL.refresh();
grid_TITEL.commit();
}
</script>
and
if(isset($_POST["PRJ_selected"]))
{
$ds_grid_TITEL->SelectCommand = "Select * from TITEL where TIT_PRJNO=".$_POST["PRJ_KEY"];
$_SESSION["PRJ_KEY"] = $_POST["PRJ_KEY"];
}
else
{
if(!$koolajax->isCallback)
{
$_rows = $grid_AUSWPRJ->GetInstanceMasterTable()->GetInstanceRows();
$_rows[0]->Selected = true;
$ds_grid_TITEL->SelectCommand = "select * from TITEL where TIT_PRJNO=".$_rows[0]->DataItem["PRJ_KEY"];
}
else
{
$ds_grid_TITEL->SelectCommand = "select * from TITEL where TIT_PRJNO=".$_SESSION["PRJ_KEY"];
}
}
Has somebody any idea how to solve this problem ?
Best regards
Klaus