Hello
I have the following function, which is called from a main datagrid to display a list of possible items
function addItems(){
var row = $('#dg').datagrid('getSelected');
if (row){
$('#win').window({
width:500,
height:200,
title:'Item Selection',
modal:true
});
$('#dgn').datagrid({
singleSelect:false,
url:'get_items.php?item='+row.item,
columns:[[
{field:'item',title:'Item',width:150},
{field:'description',title:'Description',width:150},
{field:'ck',title:'Select',checkbox:true},
]]
});
}
}
I have the following problems / questions
How do i prevent the checkbox from being displayed as a title field... title:'Select' doesn't seem to work
How do I prevent the top row "titles" scrolling with the returned data ?
Is it possible to add a toolbar to a datagrid within a window ?
I would like to show a running count of items selected in either the toolbar or Window Title bar ?
Any guidance would be appreciated
Thank you