Adv datagrid with grouping
i have
<mx:AdvancedDataGrid id="ordersAdvGrid"
width="100%" height="100%"
resize="gridCollection.refresh();"
initialize="gridCollection.refresh();"
change="onOrderGridChange(event)"
rollOver="FlexGlobals.topLevelApplication.showTip('Select an order or order status to view the order pads.')"
rollOut="FlexGlobals.topLevelApplication.destroyTip()">
<mx:dataProvider>
<mx:GroupingCollection2 id="gridCollection" source="{model.orderHistory}">
<mx:grouping>
<mx:Grouping label="orderTemplateName">
<mx:GroupingField name="orderStatusName"/>
</mx:Grouping>
</mx:grouping>
</mx:GroupingCollection2>
</mx:dataProvider>
<mx:columns>
<mx:AdvancedDataGridColumn dataField="orderTemplateName" headerText="Orders" showDataTips="true"/>
</mx:columns>
</mx:AdvancedDataGrid>
Is there any way to expand one or more of the grouping , so after the refresh all the groups are collapsed, how can i expand them programmatically
thanks
Hi,
Use displayItemsExpanded="true" or ordersAdvGrid.displayItemsExpanded="true"
Similar Messages
-
Summary Row on adv. datagrid with no dataprovider
Hello,
Just new to Flex and still need to find out some things.
Created two advanced datagrids, the first WITH a dataprovider returning articles .. the second datagrid was added as a sort of Shopping cart and has no dataprovider.
I'm able to drag and drop articles from datagrid1 to datagrid2 (shopping cart), but I'm unable to show "Total price" at the bottom of the shopping cart.
Seems logical since it need data to make summary SUM field, but how can I tackle this best?
1. add empty dataprovider?
2. create an datacollection on the fly?
<mx:dataProvider>
<mx:GroupingCollection id="gc" source="CREATE DATACOLLECTION FROM ACTUAL PRESENT DATA">
<mx:Grouping>
<mx:GroupingField name="Territory">
<mx:summaries>
<mx:SummaryRow summaryPlacement="group">
<mx:fields>
<mx:SummaryField dataField="Price"
label="Total" operation="SUM"/>
</mx:fields>
</mx:SummaryRow>
</mx:summaries>
</mx:GroupingField>
</mx:Grouping>
</mx:GroupingCollection>
</mx:dataProvider>
Please advice.
thanks a million
TomBrlooks like it didn't understand correctly. Solution beneath is not adding a new row, but is only a solution for adding an extra column with some calculated value.
Am I correct that there is no default function for adding an extra row with the SUM of a column?
ok, added a datagrid since (as you mentioned) I'll need it anyway.
After adding a datagrid and creating a httpservice that can load data into the shopping cart, I'm still unable to add the SummaryRow with Totals
As soon as I remove the dataprovider="{getshopcartdataArray}" parameter from "<mx:AdvancedDatagrid" and add the extra <mx:dataProviderpart (with source pointing to correct DP) ... nothing works: loading data doens't work, drag/drop doens't work anymore and total row is not seen anyware
this is the datagrid and this is the page I used creating this: http://livedocs.adobe.com/flex/3/langref/mx/collections/SummaryRow.html
<mx:AdvancedDataGrid y="450" id="cart" initialize="gc.refresh();" designViewDataType="flat" height="250" left="10" dragEnabled="true" dragMoveEnabled="true" dropEnabled="true" borderThickness="5" borderColor="#3F88BB" right="10">
<mx:dataProvider>
<mx:GroupingCollection id="gc" source="{getshopcartdataArray}">
<mx:Grouping>
<mx:GroupingField name="prijsexcl">
<mx:summaries>
<mx:SummaryRow summaryPlacement="group">
<mx:fields>
<mx:SummaryField dataField="prijsexcl"
label="Total" operation="SUM"/>
</mx:fields>
</mx:SummaryRow>
</mx:summaries>
</mx:GroupingField>
</mx:Grouping>
</mx:GroupingCollection>
</mx:dataProvider>
<mx:columns>
<mx:AdvancedDataGridColumn headerText="ID" dataField="cdartikel" width="30" editable="false"/>
<mx:AdvancedDataGridColumn headerText="Zoeknaam" dataField="zoeknaam" width="40" editable="false" />
<mx:AdvancedDataGridColumn headerText="Omschrijving" dataField="omschr" width="150" editable="false" />
<mx:AdvancedDataGridColumn headerText="Prijs Incl" dataField="prijsincl" width="30" editable="false" />
<mx:AdvancedDataGridColumn headerText="Prijs Excl" dataField="prijsexcl" width="30" editable="false" />
<mx:AdvancedDataGridColumn headerText="Prijs per" dataField="prijsper" width="30" editable="false" />
<mx:AdvancedDataGridColumn headerText="Eenheid" dataField="eenheid" width="30" editable="false" />
<mx:AdvancedDataGridColumn headerText="Datum verschijning" dataField="verschijningsdatum" width="40" editable="false" />
<mx:AdvancedDataGridColumn datafield="Total" />
</mx:columns>
</mx:AdvancedDataGrid> -
Advanced datagrid with grouped columns and grouped rows
hello every body, plz need your experience help. 'cause Im so new using FLEX
I have an XML (like an XML data type) something like this
<Table>
<Rows>
<cAgencia>F0002</cAgencia>
<cAgNombre>SanBorja</cAgNombre>
<cTVentanilla>V0002</cTVentanilla>
<dTVNombre>Plataforma</dTVNombre>
<TcksEnEspera>20</TcksEnEspera>
<VentsEnAtencion>50</VentsEnAtencion>
</Rows>
<Rows>
<cAgencia>F0003</cAgencia>
<cAgNombre>Miraflores</cAgNombre>
<cTVentanilla>V0002</cTVentanilla>
<dTVNombre>Plataforma</dTVNombre>
<TcksEnEspera>30</TcksEnEspera>
<VentsEnAtencion>40</VentsEnAtencion>
</Rows>
<Rows>
<cAgencia>F0002</cAgencia>
<cAgNombre>SanBorja</cAgNombre>
<cTVentanilla>V0003</cTVentanilla>
<dTVNombre>Caja</dTVNombre>
<TcksEnEspera>55</TcksEnEspera>
<VentsEnAtencion>25</VentsEnAtencion>
</Rows>
...... (continue)
</Table>
so, I need to make a table (I guess with advancedDataGrid) something like this
as you can see, I have to group them by columns and Rows. I have found a "mx:groupedColumns" that maybe could help me , but I couldn't find something like "mx:groupedRows".
The grid may be dynamic, for example if I have another XML node like:
<Rows>
<cAgencia>F0004</cAgencia>
<cAgNombre>SanMiguel</cAgNombre>
<cTVentanilla>V0002</cTVentanilla>
<dTVNombre>Plataforma</dTVNombre>
<TcksEnEspera>15</TcksEnEspera>
<VentsEnAtencion>52</VentsEnAtencion>
</Rows>
the grid may add a ROW and in the column of plataforma add the data: 15 and 52, so the grid may be something like this:
as you can see, the grid may add rows and columns in depends of the count of XML data.
plz help.
thanks, regards from Lima, Peru.
JSany help ????????? I found OLAPDataGrid ..... I was thinking to send all the data into a bidimensional Array , then pass the data of my bidimensionalArray to OLAPDataGrid ... but I'n not sure if Flex is able to do it ....
the really serious problem is the special ROW I must use ...
regards
JS -
I have a report which have year(2008), Category(0-1,2-3, ALL), product(0,1,2,3,4..), % sales. I group by all the category elements and called it as All, I am not getting the right percentage sales for the Category ALL other wise for 0-1,2-3 i am getting it right. Please advise where i am doing it wrong. please find the blog for a screen shot of my issue.
http://ravibiblog.blogspot.com/2012/04/report-with-grouping-issue.html
Thanks,
RCPl post details of OS, database and EBS versions. Pl see if these MOS Docs can help
FARXPBSH Failing With "Program was terminated by signal 11" or "Program was terminated by signal 10" (Doc ID 742729.1)
Publishing RXAPPYAC: The FARXPBSH Ends With 'Signal 11' Error (Doc ID 432797.1)
RXi RX Reports Failing With Program Was Terminated By Signal 10 or 11 Errors After FA Rollup Patch 6 (Doc ID 737963.1)
Program was Terminated by Signal 11 when Running Rxi Reports (Doc ID 559425.1)
HTH
Srini -
Custom IKM Knowledge Modules are not working with Group By Clause
Hi All,
I am facing an issue with custom IKM knowledge modules. Those are IKM Sql Incremental Update and IKM Sql Control Append.
My Scenario is
1. Created an interface with table on source and temporary datastore with some columns in target.
2. In the Interface on the target i defined one column as UD1 and other column as UD2 for which group by to be implemented .
3. Customized IKM Sql Incremental Update with " Group by " by making modification in my IKM Sql Incremental Update
detail step "Insert flow into I$ table" i.e., i replaced like this whereever i find this <%=odiRef.getGrpBy()%> API
Group By
<%=snpRef.getColList("","[EXPRESSION]","","","UD1")%>,
<%=snpRef.getColList("","[EXPRESSION]","","","UD2")%>
Up to UD5.
. Here in the place of [EXPRESSION] i passed column names for UD1 similarly other column name for [EXPRESSION] of UD2.
4.Made all the proper mappings and also selected the KM's needed for that interface like CKM Sql ,IKM Sql Incremental Update.
5. Executed the Interface with global context.
Error i am getting in this case is :
Caused By: java.sql.SQLSyntaxErrorException: ORA-00979: not a GROUP BY expression
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
Here the columns in the select clause are there in Group By also.
I did the same scenario using IKM Sql to file append .In that case i am able to do it. But not with the above mentioned KM's. Please let me know if any one know it or tried with this, as it is
high priority for me.
Please help me out.
Thanks,
keerthiHi Keerthi,
If your are transfering data from Oracle to Oracle (I means source is oracle Db and target is also oracle DB) then use below KM's and group by will come automatically based on the key values you selected on interface target datastore
1) CKM Oracle
2) LKM Oracle to Oracle (DBLINK)
3) IKM Oracle Incremental Update (MERGE)
Hope this will helps to resolve your issue
Regards,
Phanikanth -
Error in communicating with Group Administration Server
Hello everyone, i am requesting your help for an issue with LMS 4.2.5
When i browse to Admin-> Group Management -> Fault.
I get the following:
OGS Server Error
Error
Error in communicating with Group Administration Server.
It may be down or not yet up. Please make sure that the Group Administration Server is up and running, then refresh the page.
here is the pdshow output
pdshow
Process= ESS
State = Program started - No mgt msgs received
Pid = 5536
RC = 0
Signo = 0
Start = 10/31/14 14:13:21
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EssMonitor
State = Running normally
Pid = 5567
RC = 0
Signo = 0
Start = 10/31/14 14:13:25
Stop = Not applicable
Core = Not applicable
Info = ESS is fully up now !
Process= EventFramework
State = Program started - No mgt msgs received
Pid = 5584
RC = 0
Signo = 0
Start = 10/31/14 14:13:26
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= SyslogCollector
State = Running normally
Pid = 5585
RC = 0
Signo = 0
Start = 10/31/14 14:13:26
Stop = Not applicable
Core = Not applicable
Info = SyslogCollector Started at Fri Oct 31 14:13:28 CST 2014
Process= RMEDbEngine
State = Program started - No mgt msgs received
Pid = 5586
RC = 0
Signo = 0
Start = 10/31/14 14:13:26
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= FHDbEngine
State = Program started - No mgt msgs received
Pid = 5663
RC = 0
Signo = 0
Start = 10/31/14 14:13:30
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EPMDbEngine
State = Program started - No mgt msgs received
Pid = 5696
RC = 0
Signo = 0
Start = 10/31/14 14:13:34
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EPMServer
State = Running normally
Pid = 5729
RC = 0
Signo = 0
Start = 10/31/14 14:13:38
Stop = Not applicable
Core = Not applicable
Info = EPMServer is up and running
Process= AdapterServer
State = Program started - No mgt msgs received
Pid = 5748
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= AdapterServer1
State = Program started - No mgt msgs received
Pid = 5749
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= FHServer
State = Running normally
Pid = 5750
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = FHServer started.
Process= INVDbEngine
State = Program started - No mgt msgs received
Pid = 5751
RC = 0
Signo = 0
Start = 10/31/14 14:13:42
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= PMServer
State = Running normally
Pid = 5936
RC = 0
Signo = 0
Start = 10/31/14 14:13:46
Stop = Not applicable
Core = Not applicable
Info = PMServer is up and running
Process= IpmDbEngine
State = Program started - No mgt msgs received
Pid = 5960
RC = 0
Signo = 0
Start = 10/31/14 14:13:50
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= UPMDbEngine
State = Program started - No mgt msgs received
Pid = 5993
RC = 0
Signo = 0
Start = 10/31/14 14:13:54
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= UPMDbMonitor
State = Running normally
Pid = 6026
RC = 0
Signo = 0
Start = 10/31/14 14:13:58
Stop = Not applicable
Core = Not applicable
Info = DbMonitor Running Normally.
Process= ANIDbEngine
State = Program started - No mgt msgs received
Pid = 6027
RC = 0
Signo = 0
Start = 10/31/14 14:13:59
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= MACUHIC
State = Running normally
Pid = 6055
RC = 0
Signo = 0
Start = 10/31/14 14:14:03
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= UTLITE
State = Running normally
Pid = 6056
RC = 0
Signo = 0
Start = 10/31/14 14:14:03
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= FDRewinder
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= CmfDbEngine
State = Program started - No mgt msgs received
Pid = 6057
RC = 0
Signo = 0
Start = 10/31/14 14:14:03
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= CmfDbMonitor
State = Running normally
Pid = 6183
RC = 0
Signo = 0
Start = 10/31/14 14:14:08
Stop = Not applicable
Core = Not applicable
Info = DbMonitor Running Normally.
Process= DfmBroker
State = Running normally
Pid = 6190
RC = 0
Signo = 0
Start = 10/31/14 14:14:09
Stop = Not applicable
Core = Not applicable
Info = DfmBroker is running normally
Process= DfmServer
State = Running normally
Pid = 6322
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = DfmServer initialized OK.
Process= DfmServer1
State = Running normally
Pid = 6323
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = DfmServer1 initialized OK.
Process= DFMLogServer
State = Program started - No mgt msgs received
Pid = 6324
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= DFMCTMStartup
State = Administrator has shut down this server
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 11:55:05
Stop = 11/03/14 11:55:05
Core = Not applicable
Info = Application started by administrator request.
Process= FHPurgeTask
State = Transient terminated
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 00:00:00
Stop = 11/03/14 00:00:44
Core = Not applicable
Info = DPS Task FHPurgeTask completed at Mon Nov 03 00:00:44 CST 2014. For status check Job Browser UI.
Process= DFMMultiProcLogger
State = Program started - No mgt msgs received
Pid = 6327
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= CSDiscovery
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= DCRDevicePoll
State = Transient terminated
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 09:15:02
Stop = 11/03/14 09:15:50
Core = Not applicable
Info = Application started by administrator request.
Process= CSRegistryServer
State = Running normally
Pid = 6328
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = CSRegistryServer is running
Process= Tomcat
State = Program started - No mgt msgs received
Pid = 6330
RC = 0
Signo = 0
Start = 10/31/14 14:14:13
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= TomcatMonitor
State = Running normally
Pid = 6670
RC = 0
Signo = 0
Start = 10/31/14 14:14:17
Stop = Not applicable
Core = Not applicable
Info = Tomcat Server up
Process= Apache
State = Running normally
Pid = 7183
RC = 0
Signo = 0
Start = 10/31/14 14:16:02
Stop = Not applicable
Core = Not applicable
Info = Web Server initialized ok.
Process= DCRServer
State = Running normally
Pid = 7204
RC = 0
Signo = 0
Start = 10/31/14 14:16:06
Stop = Not applicable
Core = Not applicable
Info = DCRServer is up and running
Process= CMFOGSServer
State = Program started - No mgt msgs received
Pid = 7257
RC = 0
Signo = 0
Start = 10/31/14 14:16:12
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= TISServer
State = Program started - No mgt msgs received
Pid = 7258
RC = 0
Signo = 0
Start = 10/31/14 14:16:12
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= DFMOGSServer
State = Program started - No mgt msgs received
Pid = 7323
RC = 0
Signo = 0
Start = 10/31/14 14:16:16
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= NOSServer
State = Running normally
Pid = 7375
RC = 0
Signo = 0
Start = 10/31/14 14:16:20
Stop = Not applicable
Core = Not applicable
Info = NOSServer is up and running
Process= PTMServer
State = Running normally
Pid = 7376
RC = 0
Signo = 0
Start = 10/31/14 14:16:20
Stop = Not applicable
Core = Not applicable
Info = Started Successfully
Process= InventoryCollector
State = Running normally
Pid = 7377
RC = 0
Signo = 0
Start = 10/31/14 14:16:20
Stop = Not applicable
Core = Not applicable
Info = InventoryCollector is up and running
Process= Interactor
State = Program started - No mgt msgs received
Pid = 7496
RC = 0
Signo = 0
Start = 10/31/14 14:16:24
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= InventoryCollector1
State = Program started - No mgt msgs received
Pid = 7497
RC = 0
Signo = 0
Start = 10/31/14 14:16:24
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= Interactor1
State = Program started - No mgt msgs received
Pid = 7589
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= UPMProcess
State = Running normally
Pid = 7590
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = UPMProcess started successfully.
Process= UTManager
State = Running normally
Pid = 7591
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= EssentialsDM
State = Running normally
Pid = 7592
RC = 0
Signo = 0
Start = 10/31/14 14:16:28
Stop = Not applicable
Core = Not applicable
Info = RME Device Management started.
Process= ICServer
State = Running normally
Pid = 7730
RC = 0
Signo = 0
Start = 10/31/14 14:16:31
Stop = Not applicable
Core = Not applicable
Info = ICServer started.
Process= EnergyWise
State = Running normally
Pid = 7923
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = EnergyWise Process is running normally Fri Oct 31 14:16:45 CST 2014
Process= PMCOGSServer
State = Program started - No mgt msgs received
Pid = 7924
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= ConfigMgmtServer
State = Running normally
Pid = 7925
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = DCMA is running normally Fri Oct 31 14:17:02 CST 2014
Process= ConfigUtilityService
State = Running normally
Pid = 7926
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = ConfigUtilityService started.
Process= CAAMServer
State = Running normally
Pid = 7927
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = CAAMServer started.
Process= VNMServer
State = Program started - No mgt msgs received
Pid = 7928
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= WlseUHIC
State = Running normally
Pid = 7929
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Started.
Process= IPMOGSServer
State = Program started - No mgt msgs received
Pid = 7940
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= TopoServer
State = Program started - No mgt msgs received
Pid = 7941
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= LicenseServer
State = Program started - No mgt msgs received
Pid = 7942
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= NameServer
State = Program started - No mgt msgs received
Pid = 7946
RC = 0
Signo = 0
Start = 10/31/14 14:16:35
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= NameServiceMonitor
State = Program started - No mgt msgs received
Pid = 8205
RC = 0
Signo = 0
Start = 10/31/14 14:16:39
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= EDS
State = Running normally
Pid = 8290
RC = 0
Signo = 0
Start = 10/31/14 14:16:43
Stop = Not applicable
Core = Not applicable
Info = Initialization complete
Process= ANIServer
State = Running with busy flag set
Pid = 8768
RC = 0
Signo = 0
Start = 10/31/14 14:17:14
Stop = Not applicable
Core = Not applicable
Info = ANIServer started.
Process= UTMajorAcquisition
State = Transient terminated
Pid = 0
RC = 0
Signo = 0
Start = 11/03/14 10:00:00
Stop = 11/03/14 10:14:13
Core = Not applicable
Info = Application started by administrator request.
Process= EDS-GCF
State = Running normally
Pid = 8807
RC = 0
Signo = 0
Start = 10/31/14 14:17:18
Stop = Not applicable
Core = Not applicable
Info = GCF Initialization complete at Fri Oct 31 14:17:53 CST 2014
Process= jrm
State = Running normally
Pid = 8808
RC = 0
Signo = 0
Start = 10/31/14 14:17:18
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= DataPurge
State = Administrator has shut down this server
Pid = 0
RC = 0
Signo = 0
Start = 10/31/14 14:18:12
Stop = 10/31/14 14:19:11
Core = Not applicable
Info = DataPurge initialization completed at Fri Oct 31 14:19:11 CST 2014.
Process= IPMProcess
State = Program started - No mgt msgs received
Pid = 9155
RC = 0
Signo = 0
Start = 10/31/14 14:18:12
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= CTMJrmServer
State = Running normally
Pid = 9156
RC = 0
Signo = 0
Start = 10/31/14 14:18:12
Stop = Not applicable
Core = Not applicable
Info = CTMJrmServer started.
Process= SyslogAnalyzer
State = Running normally
Pid = 9246
RC = 0
Signo = 0
Start = 10/31/14 14:18:23
Stop = Not applicable
Core = Not applicable
Info = SyslogAnalyzerService Started at Fri Oct 31 14:18:35 CST 2014
Process= ChangeAudit
State = Program started - No mgt msgs received
Pid = 9247
RC = 0
Signo = 0
Start = 10/31/14 14:18:23
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= 1014
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1965
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1964
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 2360
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3056
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3104
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1001
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3177
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 3206
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1015
State = Never started
Pid = 0
RC = 0
Signo = 0
Start = N/A
Stop = Not applicable
Core = Not applicable
Info = Not applicable,
Process= 1524
State = Program started - No mgt msgs received
Pid = 21804
RC = 0
Signo = 0
Start = 11/02/14 19:00:00
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= 3306
State = Program started - No mgt msgs received
Pid = 17433
RC = 0
Signo = 0
Start = 11/03/14 11:37:17
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Process= 1005
State = Running normally
Pid = 19289
RC = 0
Signo = 0
Start = 11/03/14 12:00:00
Stop = Not applicable
Core = Not applicable
Info = 1005 started.
Process= diskWatcher
State = Program started - No mgt msgs received
Pid = 9249
RC = 0
Signo = 0
Start = 10/31/14 14:18:23
Stop = Not applicable
Core = Not applicable
Info = Application started by administrator request.
Thanks in advance for your help.
Best regards.Also when i click the alarms bar that is sitting in the bottom right i got these in DFMOGSServer.log
[ Thu Nov 06 15:25:37 CST 2014 ] ERROR com.cisco.nm.xms.ogs.kilner10.KilnerEventConsolidator makeEvent - MAKE CONSOLIDATED_DFMOGS_EVENT: 9 data:
[ Thu Nov 06 15:25:46 CST 2014 ] FATAL com.cisco.nm.xms.ogs.server.OGSServer main - Exception while OGS Server start up: CTMRegistryClient::addNewURNEntry URN : ogs_server_urn ErrMsg : URN already in use
com.cisco.nm.xms.ogs.util.OGSException: CTMRegistryClient::addNewURNEntry URN : ogs_server_urn ErrMsg : URN already in use
at com.cisco.nm.xms.ogs.server.OGSImpl.publishURN(OGSImpl.java:1396)
at com.cisco.nm.xms.ogs.server.OGSServer.main(OGSServer.java:73)
[ Thu Nov 06 15:31:54 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable -
java.lang.NullPointerException
at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
[ Thu Nov 06 15:31:54 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() called with Unreachable Devices
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() Got 9 devices from TIS
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() called with Unmanaged Devices
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() called with Suspended Devices
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup - getDevicesForNonOGSGroup() Got 0 devices from TIS
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable -
java.lang.NullPointerException
at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
[ Thu Nov 06 15:31:55 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable -
java.lang.NullPointerException
at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
[ Thu Nov 06 15:32:05 CST 2014 ] ERROR com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery - ExecuteQuery, returnList is empty or NULL, []
Don´t know much about databases, but it seems im missing some important tables or data -
How to create Matrix with Group report layout in xml
Hi,
i would be glad if anyone could tell me How to create Matrix with Group report layout in xml?
Here i am attaching the required design doc
below is the code
select COST_CMPNTCLS_CODE,
-- crd.RESOURCES,
NOMINAL_COST,
cmm.COST_MTHD_CODE,
-- crd.COST_TYPE_ID,
gps.period_code
-- ORGANIZATION_ID
from CM_RSRC_DTL crd,
gmf_period_statuses gps,
CM_MTHD_MST cmm,
CR_RSRC_MST crm,
CM_CMPT_MST ccm
where gps.period_id = crd.PERIOD_ID
and crd.cost_type_id = cmm.cost_type_id
and crd.RESOURCES = crm.RESOURCES
and crm.COST_CMPNTCLS_ID = ccm.COST_CMPNTCLS_ID
and gps.period_code in (:p_period1, :p_period2, :p_period3)
group by COST_CMPNTCLS_CODE, cmm.COST_MTHD_CODE, gps.period_code,NOMINAL_COST
order by 1,2,3,4.
The o/p of the report shoud be as given below
Period-1 Period-2 Period-3 Period-4
COMPONENT
LABOUR - DIRECT
Actual 1 2 3 4
Actual Rate 10 10 10 10
Standard Rate
Var%
DEPRICIATION-DIRECT
Actual
Actual Rate
Standard Rate
Var%
OVERHEAD - DIRECT
Actual
Actual Rate
Standard Rate
Var%
LABOUR - IN DIRECT
Actual
Actual Rate
Standard Rate
Var%
Thanks in advanceYour friend is obviously not a reliable source of HTML
information.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Mr.Ghost" <[email protected]> wrote in
message
news:f060vi$npp$[email protected]..
> One of my friends advised me to develop my whole site on
the layout mode
> as its
> better than the standard as he says
> but I couldnot make an ordinary table with rows and
columns in th layout
> mode
> is there any one who can tell me how to?
> thanx alot
> -
How to build a Matrix with Group Left Report
I want to build a Matrix with Group Left Report,not Matrix with Group Above Report,i am still finding the solution, any help is useful.
thanks
<[email protected]>Hi,
The problem in your output is not clear. The report output should appear like:
Order Mode.....Sales_Rep_ID > 10..11..12..
Online.........Order Status
...............A..............x....x...x
...............B..............x....x...x
...............C..............x....x...x
Order Mode.....Sales_Rep_ID > 10..11..12..
Retail.........Order Status
...............A..............x....x...x
...............B..............x....x...x
...............C..............x....x...x
Here "Order Mode" is the group field (it repeats for every group). Could you pl specify what output you are getting?
If the problem is that you don't want the Title (like "Order Mode" in the above example) to print in every group, just place it outside the group repeating frame. It will print only once.
Navneet. -
Hi again, developers:
I'm in a search of a datagrid with certain characteristics:
- variableRowHeight = "true"
- only one column
- each row must have a custom item renderer with possibly different heights, and a fixed width
- the datagrid must show always every item in the data provider with no vertical scroll bars, what means that the datagrid height must have always the exact height sum of all the item renderers it is displaying.
- and no extra empty rows must appear in the last positions of the datagrid
The last two requirements are something difficult to achieve... for some reason, empty rows appear at the last positions of the datagrid. I post what i've managed to get:
<mx:Script>
<![CDATA[
private function resize():void
if (dg.dataProvider)
var h:Number = dg.measureHeightOfItems( -1, dg.dataProvider.length);
dg.height = h;
]]>
</mx:Script>
<mx:DataGrid id="dg" width="530" horizontalCenter="0" verticalScrollPolicy="off"
dataProvider="{dp}"
wordWrap="true" variableRowHeight="true" showHeaders="false" dataChange="resize()" height="{dg.measureHeightOfItems(-1,dg.dataProvider.length)}" click="Alert.show(dg.rowCount.toString());">
<mx:columns>
<mx:DataGridColumn headerText="ID" width="50">
<mx:itemRenderer>
<mx:Component>
<mx:TextArea height="{Math.random()*100}" wordWrap="true" backgroundColor="{Math.random() * 16777216}" paddingTop="0" paddingBottom="0"/>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>Thanks Harui, but it doesn't help. If the border is set it will help, but the very big problem is the empty rows that appear at the end of the datagrid... I can't find a way of measuring correctly the height of the itemRenderers!
I'll update this thread if I manage to do it. -
HI BPC Friends
I have created Journal Entry Template with header Information Groups and so on.
I have entered one Journal Entry with groups='EUR' and saved it.
I have seen that it saved the journal with groups= 'LC'
Is not possible to do a Journal with groups='EUR'?
thanks
regards
Michele MedagliaHi
Another approach is to create a folder in the local Administrators Home folder. Name it Applications. Place the applications you want to restrict access to into that folder. If you have ARD you could use the mkdir and mv commands to achieve this. In some situations I find this an easier way of managing applications rather than what's available in WorkGroup Manager. For me it only tends to work with Apple's built in applications effectively. Anything else is liable to cause a problem along the lines you mention. Some 3rd-Party applications can have dependencies that may be sited in different locations. The trick is tracking down them.
Tony -
Count(*) with group by max(date)
SQL> select xdesc,xcust,xdate from coba1 order by xdesc,xcust,xdate;
XDESC XCUST XDATE
RUB-A 11026 01-JAN-06
RUB-A 11026 05-JAN-06
RUB-A 11026 08-JAN-06
RUB-A 11027 10-JAN-06
RUB-B 11026 02-JAN-06
RUB-B 11026 08-JAN-06
RUB-B 11026 09-JAN-06
RUB-C 11027 08-JAN-06
I want to make sql that result :
XDESC COUNT(*)
RUB-A 2
RUB-B 1
RUB-C 1
Criteria : GROUPING: XDESC XCUST AND MAX(DATE)
bellow mark *** that was selected in count.
XDESC XCUST XDATE
RUB-A 11026 01-JAN-06
RUB-A 11026 05-JAN-06
RUB-A 11026 08-JAN-06 ***
RUB-A 11027 10-JAN-06 ***
---------------------------------------------------------COUNT RUB-A = 2
RUB-B 11026 02-JAN-06
RUB-B 11026 08-JAN-06
RUB-B 11026 09-JAN-06 ***
---------------------------------------------------------COUNT RUB-B = 1
RUB-C 11027 08-JAN-06 ***
--------------------------------------------------------COUNT RUB-C = 1
Can Anybody help ?
I tried :
select xdesc,max(xdate),count(max(xdate)) from coba1 group by xdesc
ERROR at line 1:
ORA-00937: not a single-group group function
ThankThis one is duplicate. see the following link
Count(*) with group by max(date)
Thanks -
Strange Behaviour on DataGrid with ArrayCollection as DataProvider
I have a Datagrid with an ArrayCollection as DataProvider, the arrayCollection is partially generated by a remoteObject call, the dataprovider seems to works at least until I try to edit the field...
By the RemoteObject I only receive an ArrayCollection with the field `ip`, but the datagrid looks for the fields ip, check and save...
If I add/edit this new field it works, but only under particular condition
The DataGrid:
<s:DataGrid id="datagrid" left="10" right="10" top="136"
dataProvider="{listaIPCheck}" bottom="10" requestedRowCount="4">
<s:columns>
<s:ArrayList>
<s:GridColumn dataField="ip" headerText="Asset"/>
<s:GridColumn dataField="check" headerText="Inventory"/>
<s:GridColumn dataField="save" headerText="Salvataggio"/>
</s:ArrayList>
</s:columns>
</s:DataGrid>
The Script:
[Bindable]private var listaIPCheck:ArrayCollection;
private function ro_resultHandler(event:Event=null):void
listaIPCheck = new ArrayCollection();
listaIPCheck = ro.getListUpdate.lastResult;
heap = 0;
// Read Below {POINT #1}
init3();
private function init3():void
// Read Below {POINT #2}
if (heap<listaIPCheck.length)
// omitted the initialization of the process p
p.addEventListener(NativeProcessExitEvent.EXIT, onExit);
try{
p.start(startupInfo);
}catch(e:Error){}
private function onExit(e:NativeProcessExitEvent):void {
// Read below {POINT #3}
Here is my code, now as you can see there are 3 line where I wrote to read below...
Let's assume to put this simple `for` instead of the commented line (once at a time)
for (var k:Number=0;k<listaIPCheck.length;k++)
listaIPCheck.getItemAt(k).check = "checkVal";
listaIPCheck.getItemAt(k).save = "saveVal";
This code always work in the 3 points, so at the end of the call the ArrayCollection is always filled with the new values, but the datagrid refresh the items only in POINT #1 and POINT #2
Why not in Point #3???Thank you Amy, but adding the properties in the server side did not work...
The workflow of the program is that:
1) I get the ArrayCollection (listaIPCheck) contatining some information (function ro_resultHandler)
2) I start an external process and grab the output data (function init3)
3) read and use the data from the process (function onExit)
Now the problem I have is regarding the refresh of the datagrid, this datagrid has the ArrayCollection (listaIPCheck) as DataProvider.
So:
- If I put the for loop instead of the comments ( // Read Below {POINT #1} ) or
( // Read Below {POINT #2} ) it works, the ArrayCollection is updated and the datagrid is refreshed
- Whereas if I put the for loop instead of ( // Read Below {POINT #3} ) , it won't work.. or at least, the ArrayCollection is correctly updated, but the datagrid is not refreshed at all and I have to use .refresh() -
Flash Islands, AdvancedDataGrid, problem with grouping
Hello,
I am trying to show a table from SAP into an AdvancedDataGrid:
<mx:AdvancedDataGrid dataProvider="" width="100%" rowCount="13" >
<mx:columns>
<mx:AdvancedDataGridColumn dataField=""
headerText="Monat" />
This works very well. Now I am trying to build a tree with grouping in the same grid:
<mx:AdvancedDataGrid width="100%" rowCount="13">
<mx:dataProvider>
<mx:GroupingCollection source=""/>
<mx:Grouping>
<mx:GroupingField name=""/>
<mx:GroupingField name=""/>
</mx:Grouping>
</mx:dataProvider>
<mx:columns>
<mx:AdvancedDataGridColumn dataField="" headerText="Monat"/>
Unfortunatly I get an empty table. Does anybody know my mistake?
regards
stefanThx for reply. I understand what you mean. I was a littlebit to hasty. I should have waited until finishing everything. Point 3.c in the chapter mentioned above states it clearly.
Sorry 4 that. -
Editable DataGrid With DateField
I'm new to flex and struggling with the editable DataGrid. I
have a DataGrid with an ItemRenderer that outputs a DateField. I
can't figure out how to get the new value of the DateField after
the edit.
Here is my DataGrid (the endDate column):
<mx:DataGrid id="allHistoryGrid"
dataProvider="{allEntries}" height="313" width="782" y="-4"
itemEditEnd="saveGridChange(event)" editable="true">
<mx:columns>
<mx:Array>
<mx:DataGridColumn dataField="dietDescription"
headerText="Diet"/>
<mx:DataGridColumn dataField="allergyDescription"
headerText="Allergy"/>
<mx:DataGridColumn dataField="labDescription"
headerText="Lab"/>
<mx:DataGridColumn dataField="labResult" width="50"
headerText="Result" itemRenderer="LabResultItemRenderer"/>
<mx:DataGridColumn dataField="medicationDescription"
headerText="Medication"/>
<mx:DataGridColumn dataField="height" width="65"
headerText="Height" itemRenderer="HeightItemRenderer"/>
<mx:DataGridColumn dataField="weight" headerText="Weight"
itemRenderer="WeightItemRenderer"/>
<mx:DataGridColumn dataField="bmi" width="35"
headerText="BMI" itemRenderer="BmiItemRenderer"/>
<mx:DataGridColumn dataField="circumference" width="45"
headerText="Circ." itemRenderer="CircumferenceItemRenderer"/>
<mx:DataGridColumn headerText="Start Date" width="75"
sortCompareFunction="startDateSortCompare">
<mx:itemRenderer>
<mx:Component>
<mx:VBox clipContent="false">
<mx:DateFormatter id="dateFormatter"
formatString="MM/DD/YYYY"/>
<mx:Text width="100"
text="{dateFormatter.format(data.startDate)}"/>
</mx:VBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
<mx:DataGridColumn dataField="endDate" width="45"
headerText="End Date" itemRenderer="EndDateItemRenderer"
rendererIsEditor="true"/>
<mx:DataGridColumn id="deleteEntry" width="50"
textAlign="center"
headerText="Delete" sortable="false"
itemRenderer="DeleteItemRenderer"/>
</mx:Array>
</mx:columns>
</mx:DataGrid>
Here is my itemRenderer:
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="
http://www.adobe.com/2006/mxml"
paddingLeft="16" horizontalAlign="center">
<mx:DateFormatter id="dateFormatter"
formatString="MM/DD/YYYY"/>
<mx:DateField x="16" y="67" id="AllHistoryEndDate"
text="{dateFormatter.format(data.endDate)}"/>
</mx:VBox>
How do I get the new value in the saveGridChange function?
private function saveGridChange(event:DataGridEvent):void {That gives me this error:
TypeError: Error #1034: Type Coercion failed: cannot convert
EndDateItemRenderer@51a70a1 to mx.controls.TextInput. -
DataGrid with Custom Component not showing sub-components
I'm hoping someone can enlighten me on this issue.
I have a datagrid with one column which has an item renderer. It doesn't matter if the "text" data comes from a dataProvider or is static.
If I do the following, only the first label will show up.
<mx:DataGridColumn headerText="Column Title">
<mx:itemRenderer>
<mx:Component>
<mx:VBox>
<mx:Label text="{data.data1}" />
<mx:Label text="{data.data2}" />
</mx:VBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
However, if I change the VBox to a HBox both labels will show up.
<mx:DataGridColumn headerText="Column Title">
<mx:itemRenderer>
<mx:Component>
<mx:HBox>
<mx:Label text="{data.data1}" />
<mx:Label text="{data.data2}" />
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
I'm using:
Flex Builder 3 Standalone
Version: 3.0.214193
OS: Vista
Any ideas or comments would be appreciated.Thanks for the reply KomputerMan.com. I've tried changing the dimensions of the VBox and no other labels appeared. Usually, when there is not enough room within the datagrid cell scrollbars will appear - you can experiment with the example below to see what I mean.
As for radiobuttons in a datagrid, here you go. The DataGrid and its dataProvider are constructed in the same way you normally would.
<mx:DataGridColumn headerText="Approve/Deny/Pending" width="170">
<mx:itemRenderer>
<mx:Component>
<mx:HBox height="27" paddingLeft="10">
<mx:Script>
<![CDATA[
private function isSelected(s:Object, val:String):Boolean {
if ( s.toString() == val) {
return true;
} else {
return false;
]]>
</mx:Script>
<mx:RadioButton groupName="approveType"
id="approved"
label="A"
width="33"
click="data.status='1'"
selected="{isSelected(data.status, '1')}"/>
<mx:RadioButton groupName="approveType"
id="denied"
label="D"
width="33"
click="data.status='2'"
selected="{isSelected(data.status, '2')}/>
<mx:RadioButton groupName="approveType"
id="Pending"
label="P"
width="33"
click="data.status='3'"
selected="{isSelected(data.status, '3')}/>
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
Maybe you are looking for
-
Cannot open files ~ Could not complete your request because of a program error
I can inly open 3 files and then I get this error message ~ Could not complete your request because of a program error Please help, I am in the middle or a project ... Thank you, Linda
-
How to remove Competetors TAB from PCUI Opportunity create trx
Hi Group, we are using CRM 5.0, i want to remove Competitor's TAB from PCUI Opportunity Transaction. i see a option in CRMC_BLUEPRINT_C transaction-> Application/Layout->Define layout of the people-centric UI(Customizing tool). here i went to CRMD_BU
-
Laserjet 4 - C2001A, Windows 7 64-bit, Not printing
I have a C2001A (Laserjet 4). I had it completely rebuilt a year ago as it is a great machine. My previous computer started having problems, so I bought a new one with Windows 7 (64 bit), and now the printer does not respond. I bought a USB to parall
-
App tab doesn't refresh after restart of FF
I've added a new app tab. I close browser and reopen after some time. After browser open tab is not refreshed (displaying old content). Is it a bug or intentional behaviour?
-
Photoshop CS3 white screen / freeze
had CS3 for over a year or so(legit on work computer) and this just started happening this week. at start up and/or after a few minutes in photoshop CS3 it freezes, goes to white screen and hangs and becomes useless. it starts off lagging like if i t