How to display SharePoint view column vertically?
Hi
I want to display my column header in vertical orientation. I created a page and inserted list view web part and content editor web part in that. I added following code in content editor web part:
<style type="text/css">
.ms-vh2 {
WRITING-MODE: tb-rl; -moz-transform: rotate(90deg);
width:10px;
.ms-viewheadertr {
HEIGHT: 240px;
}</style>
This rotates the column header successfully. But this also changes the orientation of the drop down option list. Is there any way to avoid this??
One more thing...I don't want to apply this to all the columns. I want it to be applied to only certain columns. Please let me know how this can be achieved?
Hi Pratima,
Thanks for posting your issue, Kindly browse below mentioned URL to fix your issue with the given code and steps
http://sharepoint.stackexchange.com/questions/26700/viewing-a-custom-list-vertically
I hope this is helpful to you, mark it as Helpful.
If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog : http://sharepoint-community.net/profile/DharmendraSingh
Similar Messages
-
How to display a BLOB column in ADF.
How to display a BLOB column in ADF.
hi agowlikar786
Maybe the forum thread "ADF BC : download BLOB " can help
at ADF BC : download BLOB
regards
Jan -
How to display a view which contain interactive form in an external window
Anyone know how to display a view which contain interactive form in an external window?
I managed to display the view in an internal window with the following code:
IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PdfReportWin");
IWDWindow window = wdComponentAPI.getWindowManager().createWindow( windowInfo, true);
For external window, I tried this method : wdComponentAPI.getWindowManager().createExternalWindow(String URL, String title, boolean modal) but there are no parameter for view name?
Maybe this is not the correct way, really appreaciate if anyone can help.Hi,
U need to the following
1.Create another window
2.Create a view in it tat contains Interacive form element.
3. call this window dynamically thru the first window by creating a context element of IWDWindow type
The code may help:
IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("SearchEmpwind");
IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo, true);
window.setWindowPosition(WDWindowPos.CENTER);
window.setWindowSize(400, 250);
window.open();
wdContext.currentContextElement().setEmpSearchWind(window);
Regards
Ishita -
How to display BLOB image column with WEB application, JSF, ADF BC
I looking for a way to display the content from a blob column on a WEB application, JSF, ADF BC
The blob column contains a JPEG image.
About the application
The model contains a viewobject where the blob column attribute (photoimg) type is of type : BlobDomain
Now I have to create the view to display the content of photoimg inside a JSF-JSP page.
Any advice ?Search is your friend
How to display the content of a BLOB column in a ADF/BC pages ?
John -
How to display Rows as Columns in JSF?
I am using dataTable component to get data for my Menu, i have one column in it which returns me the data, because its automatically adding <tr> and <td> tags to it, its showing data in tabular form.
I want to show output Horizontally instead of Vertically the way its showing.
Is their any way i can display Rows as Columns?
Code:
==============================================
<div class="bodyarea">
<div id="location">
<h:dataTable value="#{menuItem.breadCrumb}" var="bread" >
<f:verbatim><ol></f:verbatim>
<h:column>
<f:verbatim><li></f:verbatim>
<h:outputLink id="crumbID" value="#{bread.menuLink}">
<h:outputText id="crumpName" value="#{bread.menuLabel}"/>
</h:outputLink>
<f:verbatim></li></f:verbatim>
</h:column>
<f:verbatim></ol></f:verbatim>
</h:dataTable>
</div>
</div>
Thank youTable is not the html element for you, in this situation.
I would use a dataList component (distributed with myfaces implementation).
dataList is able to return a list of item, and using css you will be able display in a horizontal grid. (otherwise you can use layout="grid" in dataList).
Anyway...my impression is that who made JSF was not really understanding how a html programmer like to write his code.
Why do JSF gives us only the possibility to write list of items throught tables?
Why do JSF prints error messages throught tables?
Why div is not a standard component?
This is an incredible lack...
I see also other incredible lasks...but they don't concern html ;) . -
How to display recently viewed pages?
Im looking for advice/tutorial on how to display a vertical
list (<ul>) inside a div which will display say the last few
pages (via their title) which a user has viewed on my site. Just a
simple vertical text based list rather like the list shown on the
"Back" button in IE. Are we talking croutons?
If a user leaves the site then goes back I want the list to
be cleared again.
Ok I know people may say, just use the back button but I
thought it could be a handy feature on the page itself.Hi freidaf1,
You should take a look at the Tile Tabs add-on:
https://addons.mozilla.org/en-US/firefox/addon/tile-tabs/
I believe it will do exactly what you are looking for. You could always open multiple windows, but I think this is a more elegant solution.
Hopefully this helps! -
How to display existing View as content in TABSTRIP tab?
Is it possible to display existing View as tab content in TabStrip tab? If so how can we do this?
Thanks in advance!Hi,
Please have a look into this linl. It will really help you a lot and give you clear idea on UI development and also about using TabStrip.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e617bc3-0401-0010-2c82-81f82e73300e">Developing Web Dynpro User Interfaces</a>
Thanks and Regards
Avijit -
How to display only selected columns in the table on the tableview
Hi All,
I am displaying in the below tableview the data from the SFLIGHTS tables in the tableview using flow logic. It displays all the columns in the database table. How can I set in the code to display only selected columns and not all columns.
Also, in these columns displayed I want to make the key columns of SFLIGHT as non editable and the rest of the columns in SFLIGHT editiable. Can you please kindly share the code to implement this.
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
<htmlb:page>
<htmlb:form>
<htmlb:tableView id = "tv1"
visibleRowCount = "10"
selectionMode = "lineEdit"
table = "<%= flights %>"
filter = "SERVER"
sort = "server"
iterator = "<%= iterator %>" />
</htmlb:form>
</htmlb:page>
</htmlb:content>
Thanks
KarenHi,
Please try this code.
<!-- To display Table control on BSP page with table internal table it_hist --!>
<htmlb:tableView id = "TV_HIST"
headerText = "Previous History"
headerVisible = "TRUE"
footerVisible = "TRUE"
design = "ALTERNATING"
selectionMode = "LINEEDIT"
visibleRowCount = "5"
fillUpEmptyRows = "TRUE"
table = "<%= it_hist %>"
width = "500" >
<!-- to show selected columns give required field name --!>
<htmlb:tableViewColumns>
<htmlb:tableViewColumn columnName = "FIELD1"
title = "COLUMN1"
horizontalAlignment = "CENTER"
width = "65" >
</htmlb:tableViewColumn>
<htmlb:tableViewColumn columnName = "FIELD2"
title = "COLUMN2"
horizontalAlignment = "CENTER"
width = "65" >
</htmlb:tableViewColumn>
<htmlb:tableViewColumn columnName = "FIELD3"
title = "COLUMN3"
horizontalAlignment = "CENTER"
width = "65" >
</htmlb:tableViewColumn>
<htmlb:tableViewColumn columnName = "FIELD4"
title = "COLUMN4"
horizontalAlignment = "CENTER"
width = "65" >
</htmlb:tableViewColumn>
<!-- to make column editable set edit property to TRUE --!>
<htmlb:tableViewColumn columnName = "FIELD4"
title = "COLUMN4"
edit = "TRUE"
horizontalAlignment = "CENTER"
width = "65" >
</htmlb:tableViewColumn>
</htmlb:tableViewColumns>
</htmlb:tableView> -
How to display 3 month columns and YTD column
Hello,
I need a help. My report layout requires to display the data in 3 dynamic month columns and one Fiscal year Year-to-date column for a period of time. For example, ending month is FEB:
Items : DEC : JAN : FEB : FY YTD
A : $10 : $11 : $12 : $100
B : $1 : $2 : $3 : $10
(Note: FY YTD is the total sum from OCT to FEB (5 months), not 3 months to be displayed)
I tried to create a query and use Matrix with group, but the report always display five (5) month columns
from OCT to FEB instead of displaying three (3) month columns. If the query is limited to display
three months as desired, then the total sum will be 3 displayed months only (instead of 5 months).
How to create a query or how to display three months and FY YTD or do anything else with Oracle Builder9i?
Thanks,You could use the DECODE function and variables
i.e. have a four column report
in your query use somthing like
, decode(period,:P_PERIOD1,1,0)* amount as period1
, decode(period,:P_PERIOD2,1,0)* amount as period2
, decode(period,:P_PERIOD3,1,0)* amount as period3
, amount as ytd
In your before report trigger poulate the variables with your required values -
How to display Calendar view without having to select date
Hi there,
I would like to know can I display Calendar view without having user to select date first.
And also, how do I highlight the date in calendar view for example, to show that i have set a reminder on that date?
I have searched many threads before, but I could not get the final answer.Hi,
Is there a way to display a full calendar popup with time stamp so the users can pick the timestamp from the popup?Date Picker doesn't have this feature. You can use Javascript to achieve the same. But at same time it's highly unrecommended to use javascript with OAF pages.
Regards,
Gyan -
How to display record in column mode?
Hi,
I have difficulty in displaying record in column mode.
Example: I have CALENDAR table with column DATECOL
CALENDAR
DATECOL DATE
Data in CALENDAR table is follow : 1/1/06, 2/1/06, 3/1/06, 4/1/06, 5/1/06, 6/1/06
How to create SELECT statement so result will be follow:
DATECOL 1 2 3 4 5 6
Any advise from you ?
RegardsHi,
Try this:
DECLARE
z_result VARCHAR2(2000) := ' ';
CURSOR c1 IS
SELECT DATECOL
FROM CALENDAR;
BEGIN
FOR i IN c1 LOOP
z_result := z_result || TO_CHAR(i.DATECOL,'DD') || ' ';
END LOOP;
DBMS_OUTPUT.ENABLE;
DBMS_OUTPUT.PUT_LINE('DATECOL ' || z_result);
END;
Peter D. -
How to display row to columns without using pivot keyword
hi,
could someone help me how to dispaly rows into columns without using pivot keyword and actuall my scenario is,iam having two tables with names and sample data is shown below
ID PROJECT MID MINAME TASKID TASKNAME
1 PROJ1 1 AA 100 PR1_TASK1
1 PROJ1 3 CC 102 PR1_TASK3
1 PROJ1 4 DD 103 PR1_TASK4
1 PROJ1 5 EE 104 PR1_TASK5
1 PROJ1 6 FF 105 PR1_TASK6
2 PROJ2 5 EE 114 PR2_TASK1
2 PROJ2 6 FF 115 PR2_TASK2
2 PROJ2 7 GG 116 PR2_TASK3
2 PROJ2 8 HH 117 PR2_TASK4
2 PROJ2 9 JJ 118 PR2_TASK5
2 PROJ2 10 KK 119 PR2_TASK6
2 PROJ2 1 AA 120 PR2_TASK7
The output should display project and count of tasks in particular milestone as shown below
project AA BB CC DD EE FF GG HH JJ KK
1 2 0 1 5 3 2 0 2 1 0
2 1 2 0 2 1 0 2 4 3 1
Thanks in advance ,
vvrWITH t1 AS
(SELECT 1 ID,
'PROJ1' PROJECT,
1 MID,
'AA' MINAME,
100 TASKID,
'PR1_TASK1' TASKNAME
FROM DUAL
UNION
SELECT 1, 'PROJ1', 3, 'CC', 102, 'PR1_TASK3'
FROM DUAL
UNION
SELECT 1, 'PROJ1', 4, 'DD', 103, 'PR1_TASK4'
FROM DUAL
UNION
SELECT 1, 'PROJ1', 5, 'EE', 104, 'PR1_TASK5'
FROM DUAL
UNION
SELECT 1, 'PROJ1', 6, 'FF', 105, 'PR1_TASK6'
FROM DUAL
UNION
SELECT 2, 'PROJ2', 5, 'EE', 114, 'PR2_TASK1'
FROM DUAL
UNION
SELECT 2, 'PROJ2', 6, 'FF', 115, 'PR2_TASK2'
FROM DUAL
UNION
SELECT 2, 'PROJ2', 7, 'GG', 116, 'PR2_TASK3'
FROM DUAL
UNION
SELECT 2, 'PROJ2', 8, 'HH', 117, 'PR2_TASK4'
FROM DUAL
UNION
SELECT 2, 'PROJ2', 9, 'JJ', 118, 'PR1_TASK5'
FROM DUAL
UNION
SELECT 2, 'PROJ2', 10, 'KK', 119, 'PR1_TASK6'
FROM DUAL
UNION
SELECT 2, 'PROJ2', 1, 'AA', 120, 'PR1_TASK7' FROM DUAL)
SELECT id project,
NVL((SELECT mid
FROM t1
WHERE miname = 'AA'
AND id = t_out.id),
0) AA,
NVL((SELECT mid
FROM t1
WHERE miname = 'BB'
AND id = t_out.id),
0) BB,
NVL((SELECT mid
FROM t1
WHERE miname = 'CC'
AND id = t_out.id),
0) CC,
NVL((SELECT mid
FROM t1
WHERE miname = 'DD'
AND id = t_out.id),
0) DD,
NVL((SELECT mid
FROM t1
WHERE miname = 'EE'
AND id = t_out.id),
0) EE,
NVL((SELECT mid
FROM t1
WHERE miname = 'FF'
AND id = t_out.id),
0) FF,
NVL((SELECT mid
FROM t1
WHERE miname = 'GG'
AND id = t_out.id),
0) GG,
NVL((SELECT mid
FROM t1
WHERE miname = 'HH'
AND id = t_out.id),
0) HH,
NVL((SELECT mid
FROM t1
WHERE miname = 'JJ'
AND id = t_out.id),
0) JJ,
NVL((SELECT mid
FROM t1
WHERE miname = 'KK'
AND id = t_out.id),
0) KK
FROM (SELECT DISTINCT id FROM t1) t_out
PROJECT AA BB CC DD EE FF GG HH JJ KK
1 1 0 3 4 5 6 0 0 0 0
2 1 0 0 0 5 6 7 8 9 10As I understand, you want MID of MINAMEs displayed ? But output is not like yours.. What is exactly your requirements? -
Data Modeler How to display the "relationship name" vertically
Is there any way to display the relationship name vertically. In Designer, it used to be like that.
there is no such option.
Philip -
How to display oracle BOLB column data forms
Hello Francois ,
I also want to display a BLOB column value on Oracle front-end (but this is oracle form 6i version)
I tried your below method but i was not able to make it work....
it displays the other details wen quired but not the blob data column
please help --- urget solution required
<<<<<<<
Create a block based on the table you have the BLOB image, then use an Image Item based on that BLOB column. All you have to do, then is an execute_query() instruction to populate the Image Item.
FrancoisI'm not convince that the null pointer exception is coming from the database. Rather, whatever you wrote to package the result might be at fault. Regardless, typically, to avoid the web container swallowing an exception is to catch it yourself. Your database call will need to catch the exception and repackage it for the JSP. A bad style would be to use scriptlet and catch the exception, but it could be useful for debugging.
-
SPGridView - sorting Dates doesn't work properly & how to display the title column as link?
Hi,
I've got a SPGridView that is being filled with data from several lists. Some of them are a date-field and a title-field. I already added sorting, paging and filtering options and at first look they seem to work fine. But now I noticed that sorting dates
doesn't work as expected. If I select ascending sorting, the result is something like this:
01.08.2014
02.08.2014
17.07.2014
18.07.2014
23.07.2014
If I select descending sorting, the result is this:
23.07.2014
18.07.2014
17.07.2014
02.08.2014
01.08.2014
This isn't what I want obviously.
I just added the EventReceiver for the sorting like it is shown in several tutorials:
(The date field is a BoundField.)
grid.Sorting += new GridViewSortEventHandler(grid_Sorting);
private void grid_Sorting(object sender, GridViewSortEventArgs e)
if (ViewState["FilterExpression"] != null)
gridDS.FilterExpression = (string)ViewState["FilterExpression"];
And my second problem is how to add a link to the title column. In my grid I'm displaying tasks from different lists and I want to link the title to the related task. I stumbled accross HyperLinkFields and tried this:
HyperLinkField hyperLinkField = new HyperLinkField();
hyperLinkField.DataTextField = "Titel";
hyperLinkField.DataNavigateUrlFields = new string[] { "Titel" };
hyperLinkField.DataNavigateUrlFormatString = "{0}";
hyperLinkField.HeaderText = "Titel";
hyperLinkField.SortExpression = "Titel";
grid.Columns.Add(hyperLinkField);
The resulting link is something like ...sites/MySite/_catalogs/masterpage/A1-V1-2 where "A1-V1-2" is the name of the task and also shown in the title field.
The actual link should look more like ...sites/MySite/Lists/mytasklistname/DispForm.aspx?ID=.... or something like that to display the task details. How could I achieve that?
Thanks in advancehttp://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/MS-SharePoint/Q_27718782.html
Here is the exact code you need to use:
http://social.msdn.microsoft.com/Forums/ar/sharepointcustomization/thread/c463a8c6-4806-4233-b6a4-8db8369c5fc2
http://sharepoint.stackexchange.com/questions/53459/change-title-linked-to-item-with-edit-menu-to-different-column
Open the AllItems.aspx page for the specific list.
Search for the <ViewFields> tag
List item LinkToItem="TRUE" to whichever column you want the link:
<ViewFields><br/>
<FieldRef Name="Attachments"/><br/>
<FieldRef Name="LinkTitle"/><br/>
<FieldRef Name="linkThisColumn" LinkToItem="TRUE"/><br/>
<FieldRef Name="data_x0020_column"/><br/>
<FieldRef Name="Another_x0020_column"/><br/>
</ViewFields><br/>
http://sharepoint.stackexchange.com/questions/58954/link-title-in-list-to-value-in-url-column
Create calculated column.
Insert following formula -
="<a href='"&UrlFieldName&"'>"&Title&"</a>"
Set "data type returned from this formula is" to integer.
As a result on list view you will see the title with link to your url.
UPD: It seems that URL field is not valid for calculated column, as workaround you can copy url value in a receiver into the another text field, which is not shown on the view.
If this helped you resolve your issue, please mark it Answered
Maybe you are looking for
-
Creating a Survey - Novice Javascript Question
Hello, I am extrememely new to Javascript. I have been doing some research online and copy/pasting code to create the results I need. I am trying to create an online survey in Dreamweaver in which users select buttons to answer questions and then t
-
True about updates through a view
hi frds i just need the right answer for the choices mentioned below with explanation plz help me What is true about updates through a view? A. You cannot update a view with group functions. B. When you update a view group functions are automatically
-
Dataschema in XML form builder
Hi all i started doing one application on xml form builder .i created a project . when i click on name space i is showing an defeult value but when i right click on the dataschem it was not showing any values.i hane to add some structure to the data
-
ok, there is a new update for adobe and i cant install it because it says not enough disk space. http://gyazo.com/4adf0008b711801b8b3008883c1a5bff
-
Hi We are loading the huge files from external data base. In infosource we are using the keyfigures 0AMOUNT (0CURRENCY) 0RT_SALRESA (0SALES_UNIT) But when my source file is not have the currency and unit fields seperately. When creating the datasourc