Ich stieß auf etwas seltsam und ich kann nicht herausfinden, warum es passiert ist. Bei Auswahl einer Zeile verschwindet das Erweiterungszeichen. mein Beispiel: Jqgrid - wenn Sie auf eine Zeile klicken - erweitern Sie das Zeichen ist jetzt sichtbar
und das Beispiel in der Website jqGrid Tutorial ist, wie folgend:
Wie Sie sehen können, die erweitern Zeichen sichtbar ist.
Hier ist mein Code für das Netz:
$("#jqGrid").jqGrid({
data: gridData,
//editurl: 'clientArray',
datatype: "local",
page: 1,
colModel: [
{ label: 'Flow Run Id', name: 'FlowRunId', key: true, width: 65 },
{
label: 'Run Status',
name: 'RunStatus',
width: 25,
formatter: statusFormatter,
align: 'center'
},
{
label: 'Run Notes',
name: 'RunNotes',
width: 80,
},
{
label: 'Start Date',
name: 'StartDate',
width: 40,
formatter: "date",
align: 'center',
formatoptions: { srcformat: "ISO8601Long", newformat: "d/m/Y H:i:s A" }
}, {
label: 'End Date',
name: 'EndDate',
width: 40,
formatter: "date",
align: 'center',
formatoptions: { srcformat: "ISO8601Long", newformat: "d/m/Y H:i:s A" }
}
],
viewrecords: true,
width: 1100,
height: 550,
rowNum: 20,
subGrid: true, // set the subGrid property to true to show expand buttons for each row
subGridRowExpanded: showStepRunChildGrid, // javascript function that will take care of showing the child grid
pager: "#jqGridPager"
});
$("#jqGrid").trigger("reloadGrid");
irgendwelche Ideen, warum es passiert? hat nichts im Internet gefunden.