How to show the filter and sort capabilities in adf dynamic table
hi
how to show the filter and sort capabilities in adf dynamic table..
Pls help me
Hi
Click on a colum in your table and go to the properties pallet
make true the sortable property then you can sort the table according to that column
Thanx
Padma
Similar Messages
-
How to show the columns (and sequence and sort order) of an INDEX?
Assume I have an INDEX for an existing TABLE.
How can I find out the columns covered by this INDEX (and the sequence and sort order)?
Which table contains this information?
all_indexes does not.
Peteruser559463 wrote:
Assume I have an INDEX for an existing TABLE.
How can I find out the columns covered by this INDEX (and the sequence and sort order)?
Which table contains this information?
all_indexes does not.
Peter--
select table_name, index_name, column_name, column_position
from user_ind_columns
order by table_name, index_name, column_position; -
How to show the First and Last name of the user instead of user name
Gurus,
We have the full email id of the user as the portal user name. Right now we are using the "Item Attributes - Current User" to show the user name. We don't want to show this anymore. We would like to show the First and Last name of the user on the Portal page. How can i do this. Please post a reply if you have some idea about it.
Thanks
Raj
---------I believe this is possible using the security APIs. See http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/PLSQL/DOC/PLDOC_9026/INDEX.HTML and look for person_info (Returns user information, given a user name)
under wwsec_api
Suggest posting any follow-up questions to the Security forum - http://forums.oracle.com/forums/forum.jsp?forum=6 -
How to fix the width of sorting column about adf table ?
I develop project with ADF in jdeveloper.
When click on the sorting column header in adf table,it will adjust the width of the sorting column header.It will make page shifting.
How can I do to avoid the adjusting ?
How can I do to fix the width of soting table header?
Any hint will be appreciated.
Thank you!
Message was edited by:
user618145I have set the column width like this:
in style.css:
/** Column Settings **/
af|column::header-text
background-color:#F0EDE1;
color:#000000;
font-family:Arial,Helvetica,sans-serif;
font-size:12px;
font-weight:bold;
padding-left: 2px;
padding-right: 2px;
padding-top: 3px;
padding-bottom:3px;
border-color: #B5B5B5;
WIDTH: 120px;
af|column::sortable-header-text
background-color:#F0EDE1;
color:#000000;
font-family:Arial,Helvetica,sans-serif;
font-size:12px;
font-weight:bold;
padding-left: 2px;
padding-right: 2px;
padding-top: 3px;
padding-bottom:3px;
border-color: #B5B5B5;
WIDTH: 120px;
and in jsp page,write like this:
<af:panelBox text="test" width="1000" background="dark" >
<af:table emptyText="" value="#{ftOverview.listOfTransefersVect}" var="transfers" width="100%" banding="row" bandingInterval="1">
<af:column sortable="true" sortProperty="transactionId" headerText="#{resources['ft_overview.ref']}" formatType="text" width="39"
noWrap="true">
<af:outputText value="#{transfers.transactionId}" escape="false"/>
</af:column>
</af:table>
</af:panelBox>
but it seems doesn't work well. -
WebPart: Display the search result in an spgridview with filter and sort
hi,
For explain more in details.
I need the search result in a table displaying some meta common in the different library.
I've to have the possibility to filter and sort the grid.
i'm trying to extend Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart
i can have the result from the textbox search with: SharedQueryManager.GetInstance(this.Page).QueryManager
My queryManager is populate in the method: CreateChildControls
I put the sample code i use. and in the populateData method, my querymanager is null while in the createChildContriol, it's correctly populate with : this.queryManager = SharedQueryManager.GetInstance(this.Page).QueryManager;
using System;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
using Microsoft.SharePoint.Search.Internal.WebControls;
using Microsoft.Office.Server.Search.Query;
using Microsoft.Office.Server.Search.WebControls;
using System.Data;
using System.Xml;
namespace CustomSearchResultWebPart.CustomCoreResultWebPart
[ToolboxItemAttribute(false)]
public class CustomCoreResultWebPart : Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart
private ObjectDataSource objDS;
private const string ObjectDataSourceID = "gridViewDataSource";
private QueryManager queryManager;
private SPGridView gridView = new SPGridView();
protected override void CreateChildControls()
//here is correctly populate
this.queryManager = SharedQueryManager.GetInstance(this.Page).QueryManager;
try
LoadSearchGrid();
catch (Exception ex)
Page.Response.Write(ex.Message + " - " + ex.StackTrace);
//base.CreateChildControls();
protected override void OnInit(EventArgs e)
base.OnInit(e);
protected override void OnLoad(EventArgs e)
base.OnLoad(e);
protected override void OnPreRender(EventArgs e)
//gridView.DataBind();
base.OnPreRender(e);
protected override void Render(HtmlTextWriter writer)
base.Render(writer);
public DataTable populateData()
DataSet dtSet = null;
DataTable dtTable = null;
//here is my query manager is null
if (queryManager != null && queryManager.Count > 0)
XmlDocument xdoc = new XmlDocument(); //We are using XmlDocument
xdoc = queryManager.GetResults(queryManager[0]);//xml returned by search
if (xdoc != null)
XmlReader xmlReader = new XmlNodeReader(xdoc);
dtSet = new DataSet();
dtSet.ReadXml(xmlReader);
if (dtSet.Tables.Count > 1)
dtTable = dtSet.Tables["Result"];
return dtTable;
private void LoadSearchGrid()
this.objDS = new ObjectDataSource();
this.objDS.ID = ObjectDataSourceID;
this.objDS.SelectMethod = "populateData";
this.objDS.TypeName = this.GetType().AssemblyQualifiedName;
this.objDS.ObjectCreating += new ObjectDataSourceObjectEventHandler(objDS_ObjectCreating);
this.Controls.Add(objDS);
gridView.ID = "_gridView";
gridView.AutoGenerateColumns = false;
gridView.Width = new Unit(100, UnitType.Pixel);
gridView.EnableViewState = false;
gridView.AllowPaging = true;
gridView.PageSize = 5;
gridView.DataSourceID = ObjectDataSourceID;
this.Controls.Add(gridView);
void objDS_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
//e.ObjectInstance = objDS;
protected void gridView_RowDataBound(object sender, GridViewRowEventArgs e)
//throw new NotImplementedException();
Do you have a sample that i can use or some tutorial?
thanks for your helpI added this in my class
public class CustomResultsDatasource : CoreResultsDatasource
public CustomResultsDatasource(Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart parentWebPart)
: base(parentWebPart)
View = new CustomResultsDatasourceView(this, GetType().Name);
public class CustomResultsDatasourceView : CoreResultsDatasourceView
public CustomResultsDatasourceView(SearchResultsBaseDatasource dataSourceOwner, string viewName)
: base(dataSourceOwner, viewName)
//make sure we have a value for the datasource
if (DataSourceOwner == null)
throw new ArgumentNullException("DataSourceOwner");
CustomResultsDatasource datasource = this.DataSourceOwner as CustomResultsDatasource;
this.QueryManager = SharedQueryManager.GetInstance(datasource.ParentWebpart.Page).QueryManager;
And this in my customSearchResultWebPart
protected override void CreateDataSource()
//base.CreateDataSource();
this.DataSource = new CustomResultsDatasource(this);
How can i use queryManager in populateData?
thanks for your help -
How to show the Dashboard Filter Promts in a BI Publisher report?
Hi,
I have a problem when trying to pass Dashboard Prompt Filters from OBI Analysis to a Publisher Report?
Im working in OBIEE 11g. Where I simply can integrate the BI publisher to show the same result set as shown in the Analysis (Answers) Report.
I have also created dummy tables in my Analysis Report that shows the presentation variables from the prompts and I have also one dummy table that shows a session variable with a String when the DW was updated.
I use these dummy tables to be able to pass the promt values to BI Publisher.
The problem I have is that...
I can see that the Strings I have Prompted in my Analysis Report, but only the default values are shown in my BIP report.
-It works fine with my session variable that I display as a string in a dummy table as well as in the BIP report.
-Is there any other way to show the prompted Filters as information in a BI Publisher report??????
Thanks,
KenIs there a reason why you don't use the presentation variables directly to filter the BI publisher report?
If you use the presentation variables, then ensure that the presentation variables associated with the prompt exactly matches the BIP report parameter name. In this case, you can create another datamodel with a sql that selects the parameters. for example: select :param1, :param2 from dual. In that case, the xml will include the parameter values and you should be just able to insert the param fields in the template.
Thanks! -
How to run the report and show the output in excel file
salam
how to run the report and show the output in excel file,
how to run the report and print the o/p via printer
how to run the report and send the o/p via mail
thank u allHi,
There are Parameters DESTTYPE, DESFORMAT and DESNAME. You can set these parameters to get as you want.
1) Output in Excel File
ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'FILE');
ADD_PARAMETER(PL_ID, 'DESFORMAT', TEXT_PARAMETER, 'DELIMITED');
ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<file_name>.XLS');2) output to printer
ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'PRINTER');
ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<printer_name>');3) Email - Have to configure SMTP and all. ( i didn't checked it)
ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'MAIL');
ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<email_id>');Regards,
Manu.
If this answer is helpful or correct, please mark it. Thanks. -
The box in my Photoshop Elements, which shows the size and type of brushes, has shrunk to one unreadable line. How can I expand this box to its original size? I have tried dragging it open but nothing happens and none of the tool boxes appear to give me an expansion option
Well, when you open the program, the splash screen, the window you see while the program is opening, should make that clear enough. For example:
-
Where to locate and how to use the filter thershould to binarized image
Good morning friends. I am using
Labview with VDM and let me know where to locate and how to use the
filter thershould. Also that parameters used to binarized image captured
via webcam and display it in black and white.
Thank you very
much.Is the image that you are getting a RGB one? Use color plane extraction and then use a binary threshold to convert it into a binary image. You can also directly use a color threshold and convert a rgb (color) image to a binary image.
-
How to show company name and contact name on the incoming calls of iPhone 4
Kindly provide me with a useful solution of how to show company name and contact name on the incoming calls of iPhone4.
even with an application or from the setting of the iPhone itself, but without telling me a solution like writting the company name in the contact name field.
This is a very important option, i think it is a must, not an option and apple should fix this problem fastly. because it is already available in the older models of iPhone like iPhone 3G and 3GS.
How an important feature like this could be available in old models, but in the later models is not available?Currently not possible without putting the company name in the contact name's field. AFAIK, it's never been available on any iOS version.
You might check the App Store for an app that can do this although I'm pretty sure you won't find one.
http://www.apple.com/feedback/iphone.html -
How do I get the starter home screen back to showing the time and weather?
The phone had showed the time and weather from the starter mode and now it doesn't. How do I get it back to showing it?
We would be delighted to assist today Arkad! Do you mind sharing your current device? Let's get this resolved.
MatthewS_VZW
Follow us on Twitter @VZWSUPPORT -
CS 4 InDesign 6.0.4 How do I get rid of it showing the X and Y's
How do I get rid of it showing the X and Y positions when I move a box or something around? Thank you.
Thank you, I don't know how some of these things are coming up and happening since I upgraded to OS 10.6
-
I have a 5th Gen iPod Touch, I downloaded an album and 2 of the songs had music videos. I didn't like it so I deleted it. But it still shows the song and the cloud sign next to it. How can I permanently removed songs/vids? On iOS 7
Go to Settings>iTunes and App Store and turn off SHOW ALL
-
I purchaised MPV's Core Numbers '09 101 software online yesterday. The software only shows the toutorial, and I couldn't find the actual spread sheet. I have taken a long time watching the toutorial. Please help me on how I can find the actual spread sheet to work on. Thank you in advance
Visit the developer site for help.
https://www.appomator.com/support/ -
Due to reinstallation of mac 2nd partition is nt showing how to recover the partition and data
Due to reinstallation of mac 2nd partition is nt showing how to recover the partition and data
If you have no backup your only option is to perform incomplete recovery (point-in-time recovery) to the time just before the drop, export the table and then restore the database (for example, from a cold backup taken just before the incomplete recovery,) and import the table. This obviously requires a full backup
taken before the drop which you don't seem to have, so the answer is "regrettably no."
If you have a backup;
Take backup of ur current db, apply previous day backup, do point in time recovery to get table back,export table, shutdown and apply latest backup, import table back
Regards,
Maybe you are looking for
-
No internet access for vlan devices
Hey folks, I'm new to cisco and have only recently started study for my ccna. In preperation for this i've gotten my hands on a cisco emi 3550-48 port switch so i can play and test some scenario's. Now, I've setup a couple of vlans (200,201 and 202
-
My iCloud storage is very nearly full but i can't find out how to manage it!
I keep recieving an e-mail saying that my icloud backup is almost full but i have no idea how to manage this. I don't want to purchase more back up, is there a way of managing it?
-
Leopard won't install on my iMac
So I erased my hard-drive to re-install my copy of leopard that came with my computer but it won't install- it keeps stopping about halfway and saying it can't be installed on my Mac. Any ideas? My computer was working fine until it froze trying to u
-
How to get inputtext's inputvalue by using javascript
how to get inputtext's inputvalue by using javascript? and how to judge whether its be filled or empty string
-
Hi, I have added code in the user exit MB_CF001 for the transcation code MIGO. I put a break-point in it (hard coded), I have activated in SMOD and CMOD also. But when i run MIGO and POST (click on post button on application tool bar) it is not posti