How to make a cell/column read only
HI All,
Is there any way to make a specific cell read only with in a specific data form?
Similarly is there any way to make whole column read only inside a specific data form?
I don't want to make changes in my dimension member (e.g Dynamic Calc), i want to make these changes at data form level because, these cell/column are read only at one form but on some other data form they are editable/enterable
If you want to make a column read only then have a look at asymettric columns in the planning admin doc, if you use them then you can make one of the columns read only.
If you want a make one cell read only then one method could be to use javascript, you could add an extra member which is dynamic calc and point to the original member with a formula but it doesn't sound like you want to do that.
Cheers
John
http://john-goodwin.blogspot.com/
Similar Messages
-
How to make specific cell(s) read-only in a data-grid
Hi there!
Is there a way to make an specific cell read-only in a data-grid?
Best regards,
CiroHi !
After some months... here is the solution:
Private WithEvents _gridTaste As DataGrid
Private Sub MyScreen_Created()
AddHandler FindControl("GridTaste").ControlAvailable,
Sub(s, e)
_gridTaste = CType(e.Control, DataGrid)
End Sub
End Sub
Private Sub _gridTaste_BeginningEdit(sender As Object, e As DataGridBeginningEditEventArgs) Handles _gridTaste.BeginningEdit
' I want do set the cell (2,0) as read only:
If e.Row.GetIndex = 2 AndAlso e.Column.DisplayIndex = 0 Then
e.Cancel = True
End If
End Sub
I hope this post help you too!
Best regards,
Ciro -
How to make a summary column appear only once (in the first page only) in SSRS 2008?
Hello Everyone,
How to make a summary column appear only once (in the first page only) in SSRS 2008?
Regards
Gautam S
RegardsHi,
Assuming you have test data like this ;
select 'abc'as [GROUP],'NN' name , 1 id
union all
select 'abc' as [GROUP] ,'PP' name , 1 id
union all
select 'abc'as [GROUP],'RR' name , 2 id
Step1 : take Tablix with row group as your group Name .
Step2 : right Click on Row Group Details -> Delete-> Delete Group Only
Step3 : In Count Cell use below expression ;
=CountDistinct(Fields!id.Value)
Follow this link;
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/b6b45917-0a26-4d15-be46-2c6a2697d6e9/distinct-rows-sum?forum=sqlreportingservices#5ffdee06-c2c8-44ea-a3a5-b958488bb6b5
Thanks
Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com -
How to make a DFF in read only mode
Hi All
There is a requirement to male an descriptive flexfield (in Puchasing PO Headers) i read only mode for all the users.
So that user must not select any values, Is any way to do this. Any workaround is possible ?
RegardsHi;
Please follow below and see its helpful:
[Solved] How to make a DFF segment 'Read-Only' using Form Personalization?
Also check:
http://download-west.oracle.com/docs/cd/A60725_05/html/comnls/us/fnd/ogenff03.htm
Regard
Helios -
How to make a DFF as Read only field
How to make a DFF as Read only field
Hi,
You can add the read only token ($RO$) to any of the segments in the list. For example:
segmentlist = "Context1|Segment1($RO$)|Segment2..."
Thanks,
Kumar -
How to make few DFF fields read only in Forms
Hello.....
I am having an Issue in forms customization through custom.pll
I need to make few DFF fields read only in HRMS enter and maintain form through custom.pll
I tried with fnd_descr_flex.update_definition but in vain
So please help me how to rectify this issue.
Edited by: user.nazeer25 on Jul 9, 2010 5:27 AMHello,
Wrong forum.
Ask this kind of question in the E-Business Suite forum ;-)
Francois -
How to make a checkbox as read-only ?
Hi,
My current requirement is to make a checkbox as read-only. Previously, the checkbox has been declared as
PARAMETERS: cb_gr AS CHECKBOX DEFAULT 'X'.
Now am required to make this as read-only. There are <b>no screens</b> defined in the report containing this checkbox and so am not knowing where to give the statement
LOOP AT SCREEN.
**Make the checkbox as disabled**
ENDSCREEN.
It is known that this statement has to be given in the PBO of a screen. So kindly guide me at the earliest on how to resolve this issue.Hi aISWARYA ,
Here is the Example for making the report parameter as Read only using the Report Event , Dont need and screen Number for it , becuase your selections itself is an Defualt 1000 screen which as PAI & PBO , in which it maintains this Report Events in it .
"Change the Input Fields Dynamically in a Screen
'The following example may help you:
SELECTION-SCREEN BEGIN OF BLOCK 001.
PARAMETERS: P_MRU RADIOBUTTON GROUP SEL DEFAULT 'X' USER-COMMAND AC,
P_PART RADIOBUTTON GROUP SEL.
SELECT-OPTIONS P1 FOR <field> MODIF ID PRT.
SELECT-OPTIONS G1 FOR <field> MODIF ID MRU.
SELECTION-SCREEN END OF BLOCK 001.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF P_MRU = 'X'.
IF SCREEN-GROUP1 = 'PRT'.
SCREEN-INPUT = '0'.
ENDIF.
IF SCREEN-GROUP1 = 'MRU'.
SCREEN-INPUT = '1'.
ENDIF.
ELSEIF P_PART = 'X'.
IF SCREEN-GROUP1 = 'MRU'.
SCREEN-INPUT = '0'.
ENDIF.
IF SCREEN-GROUP1 = 'PRT'.
SCREEN-INPUT = '1'.
ENDIF.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Reward points if it is usefull .......
Girish -
How to make a schema really READ ONLY
Our legacy database is on 11.2.0.1/Redhat. Last week, one developer by accident changed the legacy schema by executing drop/creat/alter table commands. This causes big problem. Now we want to make the legacy schema absolutely read only. Thus nobody can change the schemas object and data.
There were posts talked about make the tablespace toe read only. That stopped inserting/deleting but one can still change the schema objecs with create, drop and alter, e.g.11:31:41 SQL> create table DUMMY(dummy int);
Table created.
11:32:06 SQL> alter table dummy add ( address varchar(20));
Table altered.
11:24:14 SQL> drop table DUMMY ;
Table dropped.How can I stop this type of changes to the schema?Revoked most privileges from user LCCH (this is the one I want its schema READ ONLY), only leftselect distinct privilege,admin_option from (
select r.role,user,r.privilege,r.admin_option from role_sys_PRIVS r
union
select 'sys',p.* from user_sys_PRIVS p order by 1,2,3
PRIVILEGE ADM
CREATE SESSION NO
SELECT ANY DICTIONARY NO
SELECT ANY TABLE NONow user LCCH can still create table in its own schema13:08:49 SQL> show user
USER is "LCCH"
13:08:56 SQL> create table lcch.DUMMY(dummy int);
Table created.
13:09:33 SQL> drop table dummy purge;
Table dropped.I double checked the privileges granted and confirm that schema has not role granted, no object privileges granted and only the above 3 system privileges granted. -
How to make an list row Read only
Hi All,
Can anyone please tel me how to make the List row (list item) read only where the status column value is Submit.(i.e the whole row has to be made as readonly, am using event handler to try this out)
Thanks in advanceHi,
According to your description, my understanding is that you want to set the list item read only based on the status column.
If you want to do it using Event Receiver, you need to check the status column value using Server Object Model, then break role Inheritance and rest role assignments to set the item read only.
Here are some detailed code demo for your reference:
Change SharePoint list item permissions to Read only programmatically
How to: Create an Event Receiver
Thanks
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
To make table cell as read-only based on some condition
Hello ABAPers,
I have a requirement to make the cell in the table of a Web Dynpro component read-only. There are 4 fields in the Table of a view which is mapped to the Context attribute, i.e. function, Number, Description etc. When the value of the Field 'Function' is
'0000016', I have to make the Number field as READ-ONLY(non-editable).
As suggested in SDN forums, I have created the sub-node to the main node in Context and added an attribute 'READ_ONLY'. I have made the cardinality as 1:1. I have also created the Supply Function Method(ZREADONLY) for sub-node that I have created and also set the context binding to the Read only property of the field 'Number' in the View Layout.
PFB the coding I have done in supply function method for setting the read-only attribute for the number field, but it is not working. Could anyone let me know what is the change I have to make this work?
DATA ls_parent_attributes TYPE wd_this->element_partner_h.
DATA l_partner LIKE ls_parent_attributes-partner _fct
Constants c_parent LIKE ls_parent_attributes-partner_fct VALUE '000016'.
DATA ls_zread_only TYPE wd_this->element_zreadonly
parent_element->get_static_attributes(
IMPORTING
static_attributes = ls_parent_attributes).
CLEAR l_partner.
l_partner = ls_parent_attributes-partner_fct.
IF l_partner = c_partner.
ls_zread_only-readonly = abap_true.
node->bind_structure(
new_item = ls_zread_only
set_initial_elements = abap_true ).
ELSE.
CLEAR ls_zread_only-readonly.
ls_zread_only-readonly = abap_false.
node->bind_structure(
new_item = ls_zread_only
set_initial_elements = abap_false ).
ENDIF.
Thanks for your time!
Regards,
M M JafferHi,
the solution is quite simple.
Bind the property reaonly in the layout editor to the property readonly of the context-attribute.
Therfore you have to click at the binding button of the celleditor of the property read-only.
Then you select the radiobutton in front of Bind to the property of the selected Attribute and choose Property R.
In you coding you have to fo the following in case you do that after binding the itab to the context:
node->bind_table( .... ).
data lt_elements type wdr_context_element_set.
lt_elements = node->get_elements( ).
LOOP at lt_elements into element.
element->get_attribute(
exporting
name = 'PARTNERFCT'
importing
value = lv_partnerfct
if lv_partnerfct eq c_partner.
call method lo_el_position->set_attribute_property
exporting
attribute_name = 'PARTNERFCT'
property = element->e_property-required
value = 'X'.
else.
call method lo_el_position->set_attribute_property
exporting
attribute_name = 'PARTNERFCT'
property = element->e_property-read_only
value = ''.
endif.
endloop.
Of corse you have to modify the coding and i didn´t checked the syntax, baut this should help.
Best regards, Matthias -
How to make select list as read only
Hi All.
when i m loading a page ...how to make value of select list as read only ..
i tried doing this ....
i added readonly attribute to the select list's element attibute ...it is showing as read only field by darkening the select list field but ... the select list is editable even now... its allowing to choose from drag and drop ...
Thanks & Regard ,
NandiniI have the same requirment..
I have a select list on a editable form and i want to make that one read only.
When I use read only property it doent do anything. (But this is working for text items well).
When I use "disabled' option it works fine. But then that value does not post when use POST the form. So making select list disabled is not a solution.
Any Idea..
Thanks
mc -
How to make a User Field Read Only?
Hi,
How can i make a title userfield in a Document Form read only?
I can't set enabled to false i just want to make it read only.
I had tried to capture de key_down event on the user field, nothing happens!
I had tried to capture de form_key_down event on the user field... SAP throws the event without the item id reference.
Is there a work-around for this?
thanks,
Ricardo MommHi,
1. capture et_click and click to another item, also save the original value to a variable
and/or
2. use et_validate with before_action = true to be sure the item hasnt changed and set bubbleevent
to false when the value is different from the variable
regards
David -
How to make the fields dynamic read only in live cycle designer
hi folks
I have created a form in Adove livecycle es. Some fields should be read only from the start. So i have set the property .access 'open'. In versions of Adobe 8 this works, but in the latest version it won't so i think it should be done via another solution. Does anybody know how?
kind regards,
Anton PierhagenMay be the below code may help.. It loops thru all the pages in the PDF form and make them protected. So the user can not change any value in the form.
for (var i = 0; i < xfa.host.numPages; i++)
var oFields = xfa.layout.pageContent(i, "field");
var nodesLength = oFields.length;
//set the access type to be protected for all fields
for (var j = 0; j < nodesLength; j++)
var oItem = oFields.item(j);
oItem.access = "protected";
Thanks
Srini -
How to make a page in read only
Hello,
I am using 11.1.1.4, I am having a requirement to display all the components on my page read only when first time page loaded, By clicking on 'Edit' button I have to make all components in editable. I am using Transient View object to render various components on my page. I have 50 components approximately on my page. How can I make page read only with very minimal changes?
ThanksTry something like that:
public static void disableControls(UIComponent component, Object[] disabledParam) {
Iterator<UIComponent> i = component.getFacetsAndChildren();
while (i.hasNext()) {
UIComponent child = (UIComponent) i.next();
Class mc = child.getClass();
try {
Class[] cls = {boolean.class};
Method setDisabled = mc.getMethod("setDisabled", cls);
setDisabled.invoke(child, disabledParam);
AdfFacesContext.getCurrentInstance().addPartialTarget(child);
} catch(NoSuchMethodException ex){
} catch(Exception e) {
log.error(...);
disableControls(child, disabledParam);
} // of while
}if you pass {Boolean.TRUE} as second param, you will disable all children of first param component.
Next, in the JSF page, yuo need something like follows:
<af:clientListener type="load" method="onPageLoad"/>
<af:serverListener type="disable" method="#{myBean.handleDisable}"/>
</af:document> The javaScript part:
function onPageLoad(event) {
var source = event.getSource();
AdfCustomEvent.queue(source,"disable", {}, false);
}And finally , here is handleDisable() Java method, in which you should call disableControls() utility method:
public void handleDisable(ClientEvent event) {
disableControls(_some_UI_comp, new Object[]{Boolean.TRUE});
} -
How to make BPEL File Adapter read only new files?
Hello
we have BPEL processes that define to run from bpel component - file adatper-
when a file come into location that it is path on the linux server . the bpel start run when "File Adapter" bpel component recognize that new file come to the location. its PollingFrequency define to 5. property name="DeleteFile" value="false" so the files remaine there.
we want to migrate the bpel to new SOA version so we did export and deploy to new SOA Domain.
the location of the file adapter is the same.
but when the BPEL processes deployed its start to run for all the files that are in this location- that the file adapter define on .
even the original soa tooks those files and start the BPEL processes for each one of them. also the new SOA that we did deploy to the BPEL processes take those files even if they are very old.
we want the file adatper we take only new files . the start point is the time when we do deploy to the process so if we do deploy in 10:00 am we dont want this bpel will take files from 9:00 or earlier time
Please help , how we can do this?
Thanksthank you
do you kno hat the value means in the example:
Java mon amour: File Adapter metadata with SOA Suite
<property name="jca.file.LastModifiedTime" value="1293041258635">
what should I rite for read only the files that are only neer then yesterday?
Maybe you are looking for
-
WebAn: select filter value on 0plant gives error (but works fine for other)
Hi all, have something strange in the web analyzer: i have a query with 0plant in the free characteristics when I do 'select filter value' when it's in the free characteristics -> dump when 0plant is in the rows and I do 'select filter value' -> dump
-
Terms of payment -delivery date
hi i want to make a terms of payment xx days from the delivery date. I would like to know how terms of payment will be made. in SAP we have no date, document date, posting date, entry date. Main point is how correct baseline date will be proposed in
-
Polish and Czech characters not displaying
Hi Experts, I have to display the characters in Polish and Czech in adobe reader XI. Currently the text displays in unreadable format. Can anyone please help how this can be rectified? Thanks Tridib
-
Can a server process be assigned fixed (Logos) port?
Hi, This question relates to protecting logos traffic between a web client and a server process. We have a number of internet users accessing their own server processes on a single server machine. We would like to set up multiple VPNs for each server
-
Project library clip ends and delay to next clip
Why is there a very slight time lag between clips in my project (not the event library) every time I drag in a new clip to immediately follow a clip and how do I remove that delay?????? So if I am speaking on the clips and that clip comes to it's end