SmartClient_SNAPSHOT_v83d_2012-10-04
Occurs in All browsers
Code with the problem:
When you click ListGrid2, it will filter/fetch data with proposal_id on ListGrid1, the problem is that when on dragging and dropping from ListGrid0 to ListGrid1 it does not get the criteria value as it should, you could also check this by ListGrid1.startEditingNew(), if you remove the group by it works.
Is this a problem or a limitation when on group by?
Is there a work around?
Occurs in All browsers
Code with the problem:
Code:
<%@ page contentType="text/html; charset=UTF-8"%> <%@ taglib uri="/WEB-INF/iscTaglib.xml" prefix="isomorphic" %> <HTML><HEAD><TITLE>isc_test</TITLE> <isomorphic:loadISC skin="SilverWave" includeModules="Drawing,Analytics,DocViewer,VisualBuilder"/> </HEAD><BODY> <SCRIPT> isc.Page.setAppImgDir("../graphics/"); <isomorphic:XML> <DataSource> <loadID>prop_proposals</loadID> </DataSource> <ListGrid dataSource="prop_proposals" autoFetchData="true" ID="ListGrid2" autoDraw="false"> <fields> <ListGridField name="file" title="File"/> <ListGridField name="subject" title="Subject"/> <ListGridField name="client_id" title="Client Id"/> <ListGridField name="first_name" title="First Name"/> <ListGridField name="status" title="Status"/> </fields> <recordClick> <Action> <target>ListGrid1</target> <name>fetchRelatedData</name> <title>Fetch Related Data</title> <mapping> <value>record</value> <value>viewer</value> <value>null</value> <value>null</value> </mapping> </Action> </recordClick> </ListGrid> <DataSource> <loadID>prop_extra_pages_proposals_rel</loadID> </DataSource> <ListGrid dataSource="prop_extra_pages_proposals_rel" autoFetchData="true" ID="ListGrid1" autoDraw="false"> <fields> <ListGridField name="extra_pages_id" title="Extra Pages Id"/> <ListGridField name="proposal_id" title="Proposal Id"/> <ListGridField name="type" title="Type"/> </fields> <listEndEditAction>next</listEndEditAction> <showFilterEditor>true</showFilterEditor> <canEdit>true</canEdit> <canAcceptDroppedRecords>true</canAcceptDroppedRecords> <canRemoveRecords>true</canRemoveRecords> <xsi:type>ListGrid</xsi:type> </ListGrid> <DataSource> <loadID>prop_extra_pages_templates</loadID> </DataSource> <ListGrid dataSource="prop_extra_pages_templates" autoFetchData="true" ID="ListGrid0" autoDraw="false"> <fields> <ListGridField name="pk" title="Pk"/> <ListGridField name="file" title="File"/> <ListGridField name="name" title="Name"/> <ListGridField name="type" title="Type"/> <ListGridField name="language" title="Language"/> </fields> <canDragRecordsOut>true</canDragRecordsOut> <dragDataAction>copy</dragDataAction> </ListGrid> <HLayout ID="HLayout0" autoDraw="false"> <members><Canvas ref="ListGrid2"/><Canvas ref="ListGrid1"/><Canvas ref="ListGrid0"/> </members> </HLayout> <DataView ID="DataView0" width="100%" height="100%" overflow="hidden" autoDraw="true"> <members><Canvas ref="HLayout0"/> </members> </DataView> </isomorphic:XML> ListGrid1.groupBy("proposal_id"); </SCRIPT> </BODY></HTML>
Is this a problem or a limitation when on group by?
Is there a work around?
Comment