DataGrid Sorting Issue with Hotfix2
I already opened a ticket with Adobe on this, but since this
is a critical issue for us I wanted to post a message to see if
anyone has any idea where the issue in flex sdk lies.
Check tab 2 of the sample app, Sorting a datagrid who's
column only has partial data causes an error, works fine on Hotfix
1 (same test)
Sample App:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" creationComplete="creationComplete()">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.utils.ObjectProxy;
[Bindable]
public var dgData:ArrayCollection = new ArrayCollection();
public function creationComplete():void
var object:ObjectProxy;
object = new ObjectProxy();
object["filled"] = "Filled A";
object["partial"] = "Partial A";
dgData.addItem(object);
object = new ObjectProxy();
object["filled"] = "Filled B";
object["partial"] = "Partial B";
dgData.addItem(object);
object = new ObjectProxy();
object["filled"] = "Filled C";
dgData.addItem(object);
object = new ObjectProxy();
object["filled"] = "Filled D";
dgData.addItem(object);
]]>
</mx:Script>
<mx:XMLList id="treeData">
<node label="Mail Box">
<node label="Inbox">
<node label="Marketing"/>
<node label="Product Management">
<node label="Large node Large Node Large Node Large
Node"/>
</node>
<node label="Personal"/>
</node>
<node label="Outbox">
<node label="Professional"/>
<node label="Personal"/>
</node>
<node label="Spam"/>
<node label="Sent"/>
<node label="Spam2"/>
<node label="Sent2"/>
<node label="Spam3"/>
<node label="Sent3"/>
<node label="Spam4"/>
<node label="Sent4"/>
<node label="Spam5"/>
<node label="Sent5"/>
<node label="Spam6"/>
<node label="Sent6"/>
</node>
</mx:XMLList>
<mx:TabNavigator height="100%" width="1005">
<mx:Canvas label="Tree Issue">
<mx:Text x="284" y="51" fontSize="16" fontWeight="bold"
text="Issue: Expand the tree node to open up Product Management
node, no Horizontal Scroll bar appears." width="390"/>
<mx:Canvas verticalScrollPolicy="auto"
horizontalScrollPolicy="auto">
<mx:Tree x="50" y="50" width="226" height="303"
dataProvider="{treeData}" labelField="@label"
verticalScrollPolicy="auto" horizontalScrollPolicy="auto"/>
</mx:Canvas>
</mx:Canvas>
<mx:Canvas label="DataGrid Issue">
<mx:DataGrid id="dgTest" dataProvider="{dgData}"
width="500" height="300" x="10" y="10">
<mx:columns>
<mx:DataGridColumn headerText="Filled Row"
dataField="filled"/>
<mx:DataGridColumn headerText="Partially Filled Row"
dataField="partial"/>
</mx:columns>
</mx:DataGrid>
<mx:Text x="10" y="318" fontSize="16" fontWeight="bold"
text="Issue: Toggle the sort in the column that has only partial
data. You will get a find criteria error. This worked in Hotfix 2
and was broke in Hotfix 2." width="390"/>
</mx:Canvas>
</mx:TabNavigator>
</mx:Application>
Hi,
With new hotfixes some bugs ( most of bugs) in Flex SDK are
get fixed, but rarely new (sometimes critical) bugs can appear.
Before Flex 3 release which will allow on IDE level to switch
between different versions of Flex SDK on the fly, I would advice
you to store locallly copy of all versions of Flex 2 SDK released
to the public. Then, in case if you will encounter a serious bug in
the most recent release of Flex 2 SDK, you can fix it by yourlself
by reusing the old code from former release of Flex 2 SDK.
See what I did with found bug in Flex 2.0.1 release, which is
what not present in Flex 2.0 SDK release:
jabbypanda.com/blog/?p=25
Similar Messages
-
Datagrid sorting issues with 1/0 items to consider
Hi all,
I have an issue I can't find a way to fix. I am using a datagrid which I pouplate through a XMListCollection based on some XML datas.
XML:
var prefs:XML = <files>
<file name="@toto" favourite="1"/>
<file name="@toto"favourite="0"/>
</files>;
XMLListCollection
var xlc:XMLListCollection = new XMLListCollection( new XMLList ( prefs.file) );
MXML
<mx:DataGrid id="filesList" width="100%" height="100%" dataProvider="{xlc}">
<mx:columns>
<mx:DataGridColumn width="25" dataField="@favourite"sortCompareFunction="favourite_sortCompareFunc"/>
</mx:columns>
</mx:DataGrid>
Sorting fucnction:
private function favourite_sortCompareFunc(itemA:Object, itemB:Object):int {
var value1:Number = Number( itemA.@favourite );
var value2:Number = Number( itemB.@favourite );
if(value1 < value2){
var n:Number = -1;
return n;
else if(value1 > value2){
return 1;
else{
return 0;
return 1;
Once loaded, the datagrid appears in a "normal state":
But if I try to sort first column, it becomes messy
I think it might be related to the fact that the data to be sorted is only made of 0 & 1. But I can't imagine this kind of situations is not fixable.
Any hint ?
Thanks in advance for any advice,
LoicHi guys,
First of all, all my apologizes for my silence. I had technical issues with Yahoo mail that made me miss 3 months mail ! So I just missed your posts and I can only come today to thank you all for your care and answers.
In the meanwhile, I finally got it working by doing…nothing. Let me explain. The issue was caused by equal datas ( 1 or 0 ). So Flex couldn't sort 1 and 1 or 0 and 0 by itself. But these 0 and 1 were flags for an itemrenderer made of a button in toggle mode. 1 standed for on, 0 for off.
Doing so I did override updateDisplayList and then the issue went away. But if I had to stick with pure datas ( 1 or 0 ) I think I would have had to do a custom sort function to deal with equal datas like a few of you offered.
@DonMitchinson the @ stands for the xml attribute as the datagrid is populated with XMLListCollection from an XML file.
Thanks for your sharing,
Best,
Loic -
Dear Good Sirs,
I have encountered a problem with an app of mine where i have a datagrid that i refresh every 30 seconds. However on the refresh of the dataset i will loose the sorting that i have on my datagrid. I have trailed the net for various work arounds but so far have been unsuccessful and would appreciate some advice as to how i might be able to get around this issue. I take the data from a source url to provide and xml list. Sample below.
//where the data is coming from
mx:HTTPService id="httpGetOffers" url="testURL" method="GET"
resultFormat="e4x" result="doxmltestlist(event)" fault="fault(event)" useProxy="false" />
//my xmllist
[Bindable] private var xmltestlist:XMLList;
/result set
private function doxmltestlist(evt:ResultEvent):void
xmltestlist = evt.result.r;
//my grid
<mx:Panel title="Offer Bonds Only">
<renders:CitiDataGrid id="dgtestsort" dataProvider="{xmltestlist}" rowCount="20" variableRowHeight="true"totalRowColor="0xCCCCCC" >
<renders:columns>
<mx:DataGridColumn dataField="1" headerText="test1 sortCompareFunction="{numericSortByField('x')}"/>
<mx:DataGridColumn dataField="2" headerText="test2" sortCompareFunction="{numericSortByField('autonegtotaloffers')}"/>
<mx:DataGridColumn dataField="3" headerText="test3" sortCompareFunction="{numericSortByField('done')}"/>
</renders:CitiDataGrid>
Thanks in advance for your assistance.
PatrickIf you are resetting the dataprovider, you will have to save and re-apply
the sort. If the data items really aren't changing, it might be better to
find a way to update the current dataProvider. -
Sorting Issues With Box Sets.
I purchased two box sets on iTunes (The Beatles' and AC/DC's) however on the music app on my iPod, every album has the year 2012 (the year the box set was released) under it which causes all the albums to be sorted alphabetically. I changed the years of every album to the year each individual one was created, however it still says 2012 on my iPod.
I'd really like the albums to be sorted chronologically on my iPod. Does anyone know how to resolve this issue?Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Unsync/delete all music and resync
To delete all music go to Settings>General>Usage>Storage>Music>Tap edit in upper right and then tap the minus sign by All Music
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: Back up and restore your iOS device with iCloud or iTunes
- Restore to factory settings/new iOS device. -
Strange sorting issues with podcasts?
I subscribe to the Onion News Network podcasts, the audio only versions, and no matter what information I change I cannot get my podcasts to sort together. iTunes keeps them together in the finder, but the app separates them. I've had two separate icons for the past few years, and now there is a third! Please see the image below and help if you can. The second view only shows 3 podcasts, as seen below.
P.S. The new icons randomly show up when the podcasts are refreshed. Is it something on Onion's end? If so, why is nobody else asking about this!Hi Vetsrini,
I have implemented the above mentioned code in my logic. But it works fine only when the nodes in the XML has the data. In case if the XML has null value in one fund, It is not sorted according to the latest records. Can u please provide an alternative how to sort the data using date? I have read in ur previous posts that the date needs to be converted into Canonical Format inorder to sort according to date. Can u please send me the syntax how to convert a date into Canonical Format? Right now the format of the date in my XML is in MM/DD/YYYY format. Please help me. I am struck up with this only issue which is causing me a trouble since 1 week.
Thanks & Regards,
Pradeep Reddy Kypa
8801908980 -
Music sorting issue with iPhone 4
My music has always been sorted by Artist on iTunes and on my iPhone, not Album Artist. Just recently I did a restore and after syncing iPhone, the music is being sorted by Album Artist. iTunes is setup the same as it ever was. There are alot of songs that would need fixing to my liking if I had to manually switch each song.
On a side note,
Just got a new iPhone 4 with my Black Tie and same issue, so two different iPhones, same issue.1.) Tell Bluetooth to forget the UConnect Device
2.) Repair to UConnect.
3.) When you go thru the pairing process, delete the old names of the phone and come up with a new name for the new pairing.
4.) Power down vehicle and Uconnect
5.) Power down the iPhone completly, hold down the top right hand button till you get the power screen then turn it off. Leave it off for a touch, say 2 min.
6.) Hit home screen button or top right button and repower phone.
You should be able to connect with Uconnect again by bluetooth and you will have the same options as before with audio. -
Sorting issue with iTunes and movies
I have resently added my Harry Potter set to iTunes and for some reason when looking at the movies on my itunes two of the eight Harry Potter's are not sorted together. In fact the list does not make sense.
Harry Potter and the Deathly Hallows: part 1
2:26:05
Fantasy
2010
As Harry races against time and evil to destroy the Horcruxes, he uncovers the existence of three most powerful objects in the wizardry world: the Deathly Hallows.
Harry Potter and the Chamber of Secrets
2:40:56
Fantasy
2002
Harry ignores warnings not to return to Hogwarts, only to find the school plagued by a series of mysterious attacks and a strange voice haunting him.
Dreamgirls
2:10:12
Drama
2006
Based on the Broadway musical, a trio of black female soul singers cross over to the pop charts in the early 1960s.
Drive
1:38:24
Drama
2011
A mysterious Hollywood stuntman, mechanic and getaway driver lands himself in trouble when he helps out his neighbour.
Fahrenheit 9/11
1:57:41
Documentary
2004
Michael Moore's view on what happened to the United States after September 11; and how the Bush Administration allegedly used the tragic event to push forward its agenda for unjust wars in Afghanistan and Iraq.
Four Christmases
1:28:33
Comedy
2008
In this holiday comedy, Academy Award and Golden Globe-winner Reese Witherspoon ("Walk the Line," "Legally Blonde") stars with Vince Vaughn ("Wedding Crashers," "The Break-Up") as an upscale, happily unmarried San Francisco couple, Kate and Brad, who find
Fracture
1:53:22
Crime
2007
An attorney intent on climbing the career ladder toward success, finds an unlikely opponent in a manipulative criminal he's trying to prosecute.
Funny People
2:32:28
Comedy
2009
When seasoned comedian George Simmons learns of his terminal, inoperable health condition, his desire to form a genuine friendship cause him to take a relatively green performer under his wing as his opening act.
Gone in 60 Seconds
2:07:27
Action
2000
A retired master car thief must come back to the industry and steal 50 cars with his crew in one night to save his brother's life.
Green Lantern
1:54:00
Comic Book Movie
2011
A test pilot is granted a mystical green ring that bestows him with otherworldly powers, as well as membership into an intergalactic squadron tasked with keeping peace within the universe.
Hancock
1:32:15
Action
2008
A hard-living superhero who has fallen out of favour with the public enters into a questionable relationship with the wife of the public relations professional who's trying to repair his image.
Hanna
1:50:54
Action
2011
A 16-year-old who was raised by her father to be the perfect assassin is dispatched on a mission across Europe, tracked by a ruthless intelligence agent and her operatives.
Harry Potter and the Deathly Hallows: Part 2
2:10:27
Fantasy
2011
Harry, Ron and Hermione search for Voldemort's remaining Horcruxes in their effort to destroy the Dark Lord.
The rest of the Harry Potter's fit in as they should be the twoi at the top are out of place all together,
Any thoughts.
The list above is sorted ascending, or at least it was set to do that.
I have tried sorting asceding and descending to see if that would help but nothing.
ThanksI figured it out. Somehow the sort name was under the acter names for the two that were out of place.
-
Sort issue with an Internal table
Hi All,
I have an internal table with following format.
Invoice Item Amount
951 <Blank> 450.00
951 0010 1200.00
951 0020 1300.00
Now i need to display this internal table in such a way that,
Invoice Item Amount
951 0010 1200.00
951 0020 1300.00
951 <Blank> 450.00
How to sort for such requirements?
Basically, the item value is blank for Tax amount.
Hence in the report, the layout should show the details as above.... (Line item 1, 2...and at last Total Tax of all line items Amount).
Please Help me.....
Regards
Pavan>
Pavan Sanganal wrote:
> Hi All,
>
> I have an internal table with following format.
>
> Invoice Item Amount
> 951 <Blank> 450.00
> 951 0010 1200.00
> 951 0020 1300.00
>
> Now i need to display this internal table in such a way that,
>
> Invoice Item Amount
> 951 0010 1200.00
> 951 0020 1300.00
> 951 <Blank> 450.00
>
>
> How to sort for such requirements?
>
> Basically, the item value is blank for Tax amount.
>
> Hence in the report, the layout should show the details as above.... (Line item 1, 2...and at last Total Tax of all line items Amount).
>
>
> Please Help me.....
>
> Regards
> Pavan
Add another column to the table, copy the item values into this column setting the tax line value to 9999, sort by this column. -
I have two datagrids. After a form is submitted, datagrid 1
is populated. Clicking on any of the rows will submit to another
query and populate datagrid 2.
If I have submitted my form and datagrid 1 is populated, and
I sort the columns, it will sort and kick of the second query.
Instead of sending to the HTTP service directly when clicking
on datagrid 1 header or row, I have it going to a routine. If the
user has not selected a row, and clicks a column, it will sort but
not submit.
However, that only gets me half the way there. If a user
selected a row in datagrid 1, and then sorts, it will still submit
to datagrid 2. Again, I don't see why if I'm clearly clicking on
the column header to sort that it should submit also.
Is there a way to make the column header independent of the
rows?I would not have expected that.
Pass "event" into the itemClick handler.
Use it to determine what was clicked, and do not make your
data service call if it is the header row. Not exactly how to
determine that, you will need to look at the contents of that
event. Maybe rowIndex = -1?
Tracy -
Alpha numeric Sorting Issue with BIP-Siebel report
Hi All,
The report contains a column called 'Site Name' which contains alpha-number values such as '111 street', '4th Cross', 'Road cross', 'North end street' etc. The sorting expected here is in the form:
111 street
412 Cross
North end street
Road cross
I am currently using the following syntax for sorting the same - <?sort:(xdoxslt:convert_case(SiteName,'UPPER'));'ascending';data-type='text'?>
However, the output which I am getting is not as per expected.
North end street
Road cross
111 street
412 Cross
Can anyone help me on this.
Thanks,
ArunTry This:
<?sort:SiteName;lang='no'?>
or
<?sort:string-length(substring-before ('01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
,substring(SiteName,1,1))) ;'ascending';data-type='number'?>
or
<?sort:string-length(substring-before ('01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
,substring(SiteName,1,1))) ;'descending';data-type='number'?> -
Photo Sorting Issues with iTunes 10.1.1.4 & 3Gs
Hi, folks. Does anyone know what logic iTunes uses when sorting photos from a computer during sync? I have a large set of photos I'm trying to keep chronological (as they are on my computer) but every time I sync them, they get all out of order on the phone.
At first I thought iTunes sorted by the name of the photo. Nope. Then I thought it was the EXIF Date Created tag. Nope. Finally, I figured it had to be the Date Modified tag. Again, no.
I'm really hoping someone can tell me what I'm doing wrong here. I'd really like to understand how the software sorts images during sync.
Thanks!
-Greg同步照片好像是在用户的文件夹里面 可以百度一下 具体的我忘记了
-
Query as a web service Sorting issue
Hi All,
We have designed an existing BI query as a web service but it seems to be ignoring the Sort order of different characteristics used (as defined in Bex Query Designer).
Using the Context menu in QAAS and defining/managing the Sort is not working.
Has anyone experienced such an issue and how to handle this?
Thanks and Regards,
BansiHi All,
You can try this solution. It has something to do with the universe parameter, END_SQL.
I implemented this as a work around and it solved our problem about the sorting issue with QAAWS.
Here are the steps:
1: Open the universe
2. Ope File, then Universe Parameter
3. Click the parameter tab
4. Scroll down until you see the 'END_SQL' entry. This entry is blank by default.
5. Select END_SQL
6. On the VALUE box, type: ORDER BY 1
7. This will enable the REPLACE button. Click REPLACE
8. Save the universe
9 Test a query using 2 columns and view the SQL.
You should see now the ORDER BY 1 inferred in the SQL statement.
Voila!!!!
Of course you can always add ORDER By 1,2,3 later if there's a need.
Enjoy.....
Ferdinand -
Selection issue with editable Spark DataGrid
Hi everyone,
I am evaluating the new Spark DataGrid and I'm having a very strange issue with the behavior of selection in an editable instance.
Here is my test application: http://www.playcalliope.com/flex/DataGridSelectionIssue.html (code here: https://gist.github.com/1129160)
And here are the steps to reproduce the issue:
select the very first cell at the top-left corner of the grid (the one with "Gabriele");
click on it once more, the editor appears;
now click on the cell just to the right of it (the one with "Genta").
You should see that editing ends as it supposed to do, but selection is placed on the third cell (the one with a 5 in it) instead on the one you clicked on. Playing a little with the grid you should see that this isn't the only case, but selection is really behaving randomly.
I am using SDK 4.5.1.21328.
I think this is a very basic usage case.. I can't believe this is not working properly, what am I missing?
Thanks a lot,
Gabriele Genta
Message was edited to add live exampleYour running into a known bug, https://bugs.adobe.com/jira/browse/SDK-30088.
The bug will be fixed in the Mega release. To work around the bug you can create a custom editor and remove the "dataGrid.validateNow();" call in DataGridEditor.save().
Here's how I modified your example to workaround the bug:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
minWidth="955" minHeight="600"
backgroundColor="#E7E7E7"
creationComplete="application1_creationCompleteHandler(event)">
<s:layout>
<s:HorizontalLayout horizontalAlign="center" verticalAlign="middle"/>
</s:layout>
<fx:Script>
<![CDATA[
import mx.collections.XMLListCollection;
import mx.events.FlexEvent;
protected function application1_creationCompleteHandler(event:FlexEvent):void
testGrid.dataProvider = new XMLListCollection(testData.item);
]]>
</fx:Script>
<fx:Declarations>
<fx:XML id="testData" xmlns="">
<items>
<item>
<id>1</id>
<cognome>Gabriele</cognome>
<nome>Genta</nome>
<uhm>5</uhm>
<bene>molto</bene>
</item>
<item>
<id>10</id>
<cognome>Pinco</cognome>
<nome>Pallino</nome>
<uhm>10</uhm>
<bene>poco</bene>
</item>
</items>
</fx:XML>
<fx:Component className="MyDefaultEditor">
<s:DefaultGridItemEditor>
<fx:Script>
<![CDATA[
import mx.collections.ICollectionView;
import mx.collections.ISort;
override public function save():Boolean
if (!validate())
return false;
var newData:Object = value;
var property:String = column.dataField;
var data:Object = data;
var typeInfo:String = "";
for each(var variable:XML in describeType(data).variable)
if (property == [email protected]())
typeInfo = [email protected]();
break;
if (typeInfo == "String")
if (!(newData is String))
newData = newData.toString();
else if (typeInfo == "uint")
if (!(newData is uint))
newData = uint(newData);
else if (typeInfo == "int")
if (!(newData is int))
newData = int(newData);
else if (typeInfo == "Number")
if (!(newData is Number))
newData = Number(newData);
else if (typeInfo == "Boolean")
if (!(newData is Boolean))
var strNewData:String = newData.toString();
if (strNewData)
newData = (strNewData.toLowerCase() == "true") ? true : false;
if (property && data[property] !== newData)
// If the data is sorted, turn off the sort for the edited data.
var sort:ISort = null;
if (dataGrid.dataProvider is ICollectionView)
var dataProvider:ICollectionView = ICollectionView(dataGrid.dataProvider);
if (dataProvider.sort)
sort = dataProvider.sort;
dataProvider.sort = null;
var oldData:Object = data[property];
data[property] = newData;
dataGrid.dataProvider.itemUpdated(data, property, oldData, newData);
// Restore the sort. The data will not be sorted due to this change.
if (sort)
ICollectionView(dataGrid.dataProvider).sort = sort;
return true;
]]>
</fx:Script>
</s:DefaultGridItemEditor>
</fx:Component>
</fx:Declarations>
<s:DataGrid id="testGrid" width="100%" height="100%"
editable="true" selectionMode="singleCell"
itemEditor="{new ClassFactory(MyDefaultEditor)}">
<s:columns>
<s:ArrayList>
<s:GridColumn headerText="Prova" dataField="cognome"/>
<s:GridColumn headerText="Prova1" dataField="nome"/>
<s:GridColumn headerText="Prova3" dataField="uhm"/>
<s:GridColumn headerText="Prova4" dataField="bene"/>
</s:ArrayList>
</s:columns>
</s:DataGrid>
</s:Application> -
Issue With Page Break When Sorting is also applied on group
Hi
I am facing an issue with Page break only when I have sorting applied on the grouping that I have in the template.
The following is the sample XML
<ROWSET>
<ROW>
<GRE>org1</GRE>
<ORGANIZATION>Accounts</ORGANIZATION>
<FULL_NAME>test1,</FULL_NAME>
<ELEMENT_NAME>TEST BONUS</ELEMENT_NAME>
<CLASSIFICATION>Supplemental Earnings</CLASSIFICATION>
<RUN_VALUE>250</RUN_VALUE>
<MONTH_VALUE>500</MONTH_VALUE>
<QUARTER_VALUE>500</QUARTER_VALUE>
<YEAR_VALUE>500</YEAR_VALUE>
</ROW>
<ROW>
<GRE>org1</GRE>
<ORGANIZATION>Finance</ORGANIZATION>
<FULL_NAME>test2</FULL_NAME>
<ELEMENT_NAME>VOLUNTARY AD AND D</ELEMENT_NAME>
<CLASSIFICATION>Voluntary Deductions</CLASSIFICATION>
<RUN_VALUE>5.19</RUN_VALUE>
<MONTH_VALUE>10.38</MONTH_VALUE>
<QUARTER_VALUE>10.38</QUARTER_VALUE>
<YEAR_VALUE>10.38</YEAR_VALUE>
</ROW>
<ROW>
<GRE>org1</GRE>
<ORGANIZATION>Finance</ORGANIZATION>
<FULL_NAME>test3</FULL_NAME>
<ELEMENT_NAME>HMO MEDICAL</ELEMENT_NAME>
<CLASSIFICATION>Pre-Tax Deductions</CLASSIFICATION>
<RUN_VALUE>19.67</RUN_VALUE>
<MONTH_VALUE>39.34</MONTH_VALUE>
<QUARTER_VALUE>39.34</QUARTER_VALUE>
<YEAR_VALUE>39.34</YEAR_VALUE>
</ROW>
<ROW>
<GRE>org1</GRE>
<ORGANIZATION>Finance</ORGANIZATION>
<FULL_NAME>test4</FULL_NAME>
<ELEMENT_NAME>PENSION NR DC</ELEMENT_NAME>
<CLASSIFICATION>Pre-Tax Deductions</CLASSIFICATION>
<RUN_VALUE>0</RUN_VALUE>
<MONTH_VALUE>360</MONTH_VALUE>
<QUARTER_VALUE>360</QUARTER_VALUE>
<YEAR_VALUE>360</YEAR_VALUE>
</ROW>
</ROWSET>
In the template I group the data based on CLASSIFICATION and then sort on the same column CLASSIFICATION. I have a page-break applied for every group.
When I generate the PDF, I am not getting the page-breaks for every group. Instead some of them are displayed in the same page.
But when I remove the sorting that I had in the template on the column CLASSIFICATION, I am getting the output in the desired way but not in a sorted order.
kumarHi All,
I am using MS-WORD 2007 and BI Publisher desktop 10.1.3.3.3.
When I use split-by-page-break, splitting is performed for every line .. but not for group of lines.
Can anybody throw some light on this?
FYI...
I am using this code:
?if: position() mod 6= 0?
?split-by-page-break:?
?end if?
(Of course with in tags)
in G_LINES loop.
Can anybody help me out :-(
--Saritha -
Hyperion Planning- Account dimension - Sort Order Issue with ODI 11.1.1.5
Hello Experts,
First of all, I thank you everybody in this forum for posting their valuable suggestions.
I am facing a strange issue with ODI (Version 11.1.1.5) while loading metadata to Planning ACCOUNT dimension (Version 11.1.2.x). I am using a Oracle view to load metadata to this dimension. I have defined the sort order in the view and enabled SORT_ORDER_BY_INPUT. For the fresh load to the dimension, everything is working fine. But, when I move a member from one parent to another parent, and define it as the top member of new parent, it is missing its sort order.
But it is working fine if you define it as the second, third...or last member under new parent. I have tried all the possible ways by flipping all the properties but unable to fix it.
Please help me here to resolve this issue.
Your help is greatly appreciated!!
Thanks
Edited by: user11965311 on Sep 20, 2011 7:07 PMTo be honest I think you are best logging it with Oracle because it sounds like you are doing everything correctly so it could be a bug.
Have you tested this on any previous versions of ODI or is it a new installation?
If it does get logged with Oracle please keep me informed of the outcome as I would be interested to hear.
Cheers
John
http://john-goodwin.blogspot.com/
Maybe you are looking for
-
Questions on printing in htmldb
I try to create an invoice page to print. Some questions I ask to myself: - Is it possible to print to an A4 (papersize)? (I mean, does the application have notions of pagesize or is everything controlled by the browser? this is important when you ne
-
How to Schedule a Backup in db2
Hi, Experts We are using ECC6 (OS400 with DB2). i want to schedule a backup in db13 but system throwing error iSeries : Function not supported for DB2/400 Please tell me how to schedule a backup Thanks & Regards Venkat
-
How do i find the app for ipad for printer c309g modle cno7j182c5
can some one send me the app for my ipad for this printer listed above thanks joan
-
WUSB54G - Wireless Adapter Causing BSOD
Here is one for the support team. I wanted to connect another PC iwas working on to the internet via my WUSB54G wireless adapter. This was a fresh install, but an old computer. At the point in the installation where the adapter is connected to the US
-
Just subscribed to Acrobat for $19.99/year to be able to use expanded pdf manipulation features. From left hand window I signed in successfully. However when I try to use a feature like export to Word doc I am sent to Web page to subscribe for more m