About Pager Buttons

Hello friends. i have managed to see pager buttons. Pager size work well but buttons doesnt work i could sure use some help here thanks in advance.

var gridVehicle = {
view: "datatable",
id: "gridVehicle",
css: "subgrid",
select: "row",
editable: false,
resizeColumn: true,
resizeRow: false,
columns: [
//{ id: "id", width: 60, css: { 'text-align': 'right' }, header: { text: "#", css: { 'text-align': 'center' } } },
{id: "label", width: 120, header: "label" },
{ id: "plate", width: 150, header: "plate" },
{id: "loctime", width: 200, header: "loctime" },
{ id: "location", width: 140, header: "location" },
{ width: 10, header: "", fillspace: true }
],
url: "../../../services/Vehicles.asmx/GetAllVehicles",
headerRowHeight: 30,
rowHeight: 40,
pager:"pagerA"
};

var pagerAdapter =
{
view: "pager",
id: "pagerA",
size: 13,
group: 3,
template: "{common.prev()} {common.pages()} {common.next()}"
};

header:"RECSVEHICLE", body: {
rows: [
{ height: 10 },
{
cols: [
{ view: "search", id: "searchvehicle", keyPressTimeout: 1000, css: "editsearch", placeholder:"SEARCHCRITERIA" + " .." },
{ width: 2 }
]
},

                              { rows:[ gridVehicle,pagerAdapter]},  //---HERE DATATABLE
Tagged:
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!