Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] filter on ibidatagrid using ibiobject

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] filter on ibidatagrid using ibiobject
 Login/Join
 
Silver Member
posted
Hi,

I am working on the Webfocus Enable components. I have a ibidatagrid which is populated from a Webfocus generated xml file. I am trying to move this data to a ibiObject and perform the filter in Action Script. But the filter isn't working properly.. Please find my code below



public var grid1:ibiObject = new ibiObject();

private function initApp():void{
var selectedCity:Array = new Array();
var columnArray:Array = new Array();
var filterOption:Array = new Array();
columnArray.push("L12M_IND");
filterOption.push("EQ");
selectedCity.push("L12");
grid1.dataProvider = ibidatagrid01.dataProvider as ArrayCollection; //ibidatagrid01 is my ibiDatagrid which get xml data from webfocus procedure
grid1.filter(columnArray, filterOption, selectedCity, null, false); //grid1 is the ibiObject
maingrid01.dataProvider = grid1.prGridfiltered; //maingrid01 is my final datagrid where i want to display my filtered data
}


No rows is returned to the final maingrid01... If i use grid1.dataProvider to populate the maingrid01 then i get all the records without filter. I am not able to find enough docuement on using IbiObject... Flex gurus please help me..
Thanks much!!

This message has been edited. Last edited by: Kerry,


Release : 7.7.02
OS : Linux
App Server : Tomcat
all output
 
Posts: 36 | Registered: February 03, 2011Report This Post
Expert
posted Hide Post
Hi Saravanan,

Has this issue been resolved?

If not, please open a case with Customer Support Services for further assistance. You may either call at 1-800-736-6130, or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Silver Member
posted Hide Post
Thanks Kerry,

I have found a work-around for this issue. Instead of moving the data to ibiObject i am using the IbiFilterDefault to do my filter on the datagrid directly and each time the user changes the filter, i will call a action script which changes the ibifilterdefault and reloads the datagrid.

Reload is done using ibicanvas.reloadData() function.


Code snippet:

ibicanvas01.reloadData("ibidatagrid04","");
ibidatagrid04.ibiFilterDefault='LABEL EQ L12';

Though i have a workaround i would like to know how to move the data from ibidatagrid to ibiobject and perform any filter or sort.


Release : 7.7.02
OS : Linux
App Server : Tomcat
all output
 
Posts: 36 | Registered: February 03, 2011Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] filter on ibidatagrid using ibiobject

Copyright © 1996-2020 Information Builders