I have an Oracle APEX application (current release) that is using CARDS. I WANT an icon with 4 text columns to be displayed. I am getting an icon with 3 text columns displayed, and I don't know what I am doing wrong. The column card_subtitle is the column not showing. The SQL I am using returns data for all attributes…
select
path_id,
name card_title,
description card_subtitle,
owner card_text,
'Benchmark data' card_subtext,
path_id card_initials,
…
When I run the query from SQL, card_subtitle does have data. It is defined as varchar2 like the other columns. I have set template options to show 4 lines. As an alternative, I have tried taking two columns and concatenating them together with an HTML break ('< b r >') in between, but < b r > is displayed, instead of causing a line break. (Note I had to put in extra spaces so that SO would actually show the code...)
When run, the card displays as:
My template options are defined as:
select the column and in the security tab under "Escape special characters" choose the option NO.
this is for the line break to work
Please follow the below steps
1.Select the region
2.select the region attribute
3.goto the card region template
4.select the body text auto it will show the full content
there is only one disadvantage, that means, if you are enabled body text auto, the card alignment issue will came.
Related
I have an interactive report against a database table. One column contains multiple spaces in the middle of the string. The report is masking the multiple spaces and showing as only a single space. I want to show the exact table column value on the report.
I tried changing the column attributes from "Display as Text (escape special characters)" to "Standard Report Column" and nothing changed. I don't see any other APEX column attributes that will force the spaces to show. Any suggestions.
Column properties:
navigate to "file name" column's property palette (right hand side of the screen)
scroll down to static ID and name it somehow (for example, col_with_spaces)
Page properties:
go to page's property palette
scroll down to CSS and put this into the Inline CSS:
.a-IRR-table tr td[headers*="col_with_spaces"]
{
white-space: pre;
}
run the page; result:
I have an interactive grid in an APEX application, and one of the columns (header ATTACHMENT) has URLs that open in a new tab. However, as part of the functionality of an interactive grid, I am unable to edit the URL within this column. All the columns are editable, but since I changed this column to a 'Link' the user cannot edit it. I also tried single row view, but same.
Is this possible?
Thanks
See my interactive grid
How about specifying the same column (attachment) twice? One would be used for editing purposes, and another one as a link. Something like this:
select
id,
attachment edit_url,
'Link' link_url
from your_table
ID is the primary key column
EDIT_URL is a usual Text Field
LINK_URL is a Link column
its "Query only" property has to be set to "Yes"
"Escape special characters" set to "No"
When you run the page, it'll show 3 columns; EDIT_URL will be editable. Once you modify that column's value and save the changes, LINK_URL will reflect that change and - when you click the "Link" word in that column, it'll lead you to the modified URL.
SQL Developer question (SQL Developer is the free IDE from Oracle - do not confuse with PL/SQL Developer, a different product):
The Query Result Window (where query results are shown) does not display newlines (chr(10)) embedded in text strings. That is, it will display the text 'one' || chr(10) || 'two', which should be displayed in a single table row but two lines of text, as onetwo. If one right-clicks the cell in the query result window and selects "Single Record View", the text is displayed correctly in two lines.
I checked Tools - Preferences - Database - Worksheet and I didn't see a setting for this behavior. Is there, in fact, a way to change it?
To illustrate the issue - consider this query run in SQL*Plus:
SQL> select 'one' || chr(10) || 'two' as text_string from dual;
TEXT_ST
-------
one
two
1 row selected.
Notice the result is just one row (1 row selected) but the text is in two lines of text (still in a single row in the result set).
The same query in SQL Developer produces:
Also: I am aware that I can get the "right" result (in two lines) if I run the statement as a script (F5 or Run Script button, instead of CTRL-ENTER or Run Statement button). I am not asking for a workaround; I am asking the question literally, is it possible to change the Query Result Window behavior.
The default grid view collapses that kind of whitespace. Doubleclick on the cell and you can activate a textarea for that specific cell.
I am new to SSRS and need to get this working for my project(work not school)
I have implemented the data to be hidden on expression
=IIF(Fields!Offset1.Value = "",true,false)
Problem is that It leaves the empty space where those values would have been in my Report. I need the space to disappear too. Any help would be GREATLY appreciated!!
EDIT: Forgot to mention that I am getting my data from a MS Access DB (if that matters)
After much head scratching and thinking about it differently. #django made me think visibility not hidden properties. I righ clicked the row header tab and clicked on the Row Visability... option. That brings up the Change display options dialog box. I selected the Show or hide based on an expression andthen the fx button to build the expression. The expression i used was
=IIF(ISNOTHING(Fields!Offset1.value),true,false)
clicked OK
Ran Preview and this is what i got as a result:
It sounds more like you need a 'visibility' on a grouping more than a hidden expression and you can use ISNOTHING() instead of = "". I believe (not sure don't quote me ;) ) that SSRS evaluates hidden to only hide values not the object container itself(the row). You may be better with your group or 'details' group to have an evaluative expression on the 'visibility' rather than an element you used instead. Let's give a very simple example to drive home the concept:
Create a simple dataset in a new report. DataSource does not matter as this is only a table variable that is self contained.
declare #Temp table ( Code char(1), Value int)
insert into #Temp values ('A', 1), ('B', 2), ('A',null);
select * from #Temp
Create a table from the toolbox and populate both columns with the data from your set.
Copy and paste this table right below itself in the report.
Now for the second report click anywhere inside it but in the lower left you should see 'Row Groups' in the 'Design' view of Business Intelligence Development Studio (or the web creator if you are using that). Right Click '=(Details1)' (or similar) and choose 'Group Properties.
Now select 'Visibilty' on the left pane. This relate to the entire grouping, not just a cell in an element. Hit the 'Fx' under 'Show or hide based on an expression'.
Enter in the expression:
=IIF( ISNOTHING(Fields!Value.Value) , true, false)
Preview the report. You should see the first table with three rows and the second table IGNORES the third row because it qualifies as nothing which it evaluates for the ENTIRE GROUPING to mean 'do not show'.
I am working in Oracle APEX(Application Express). When I want to create a List of Values (LOV) it gives me only one option for displaying and returning value. Is there any method in APEX so that it can Display me more than one column.
No, there is no way to display more than 1 column by default.
You could alter your lov query to concatenate multiple column values into a display columns
select empno return_value, empno||': '||ename||' - '||job display_value
from emp
You can steer markup through the Popup LOV template too, if you'd want to use a fixed width font.
Use a plugin such as the SkillBuilders SuperLov. However, this plugin does not work in tabular forms.
Roll your own by using for example modal pages (again, SkillBuilders have an excellent plugin for modal pages), or through the use of javascript (ex creating new windows and handling returns)