Hello Isomorphic Team,
I am noticing a small display issue when exporting to PDF (using exportContent) on a ListGrid if fetchData() has a criteria passed in. If you scroll in the ListGrid in the sample below and click the PDF button to export the listGrid to PDF, it displays all the column data under one column (see attached snapshot) until you scroll again. If I call fetchData() on the ListGrid without any criteria passed in, it doesn't produce this issue. Is this a bug or is there something I can do to prevent this?
I am using build v8.3p_2013-03-27/Pro Development Only and tested on both FF (version 19) and Chrome.
Thanks.
I am noticing a small display issue when exporting to PDF (using exportContent) on a ListGrid if fetchData() has a criteria passed in. If you scroll in the ListGrid in the sample below and click the PDF button to export the listGrid to PDF, it displays all the column data under one column (see attached snapshot) until you scroll again. If I call fetchData() on the ListGrid without any criteria passed in, it doesn't produce this issue. Is this a bug or is there something I can do to prevent this?
I am using build v8.3p_2013-03-27/Pro Development Only and tested on both FF (version 19) and Chrome.
Thanks.
Code:
<%@ taglib uri="/WEB-INF/iscTaglib.xml" prefix="isomorphic" %> <HTML><HEAD> <isomorphic:loadISC skin="Enterprise"/> </HEAD> <BODY> <SCRIPT> <isomorphic:loadDS ID="supplyItem"/> isc.ListGrid.create({ ID: "itemList", dataSource: "supplyItem", fields : [ { name:"itemName" }, { name:"SKU" }, { name:"unitCost", width:50 }, { name:"units", width:40 } ], selectionType: "single" // expansion ,canExpandMultipleRecords: true, canExpandRecords: true, getExpansionComponent: function (record) { return isc.DetailViewer.create({ data: record, fields: [ {name: "itemName", title: "Name"}, {name: "description", title: "Description"}, {name: "category", title: "Category"} ] }); } }); isc.Button.create({ ID: "pdfButton", title: "PDF", click:function () { var settings = { skinName: "Enterprise", pdfName: "export" }; isc.RPCManager.exportContent(itemList, settings); } }); isc.VLayout.create({ ID: "contentLayout", width: "600", height: "500", layoutTopMargin: 10, members: [pdfButton, itemList] }); itemList.fetchData({category: "Canteen and Washroom Products"}); </SCRIPT> </BODY></HTML>
Comment