How to make an checkbox editable and uneditable within a single alv output.
Hi,
How to make an checkbox editable and uneditable within a single alv output depending on condition.
I have used Reuse_alv_grid_display.
In my output every checkbox is editable. i have used edit = 'X'.
I want editable checkbox for correct value and uneditable checkbox for incorrect value in a single alv
>
Mukilansap wrote:
> I want editable checkbox for correct value and uneditable checkbox for incorrect value in a single alv
Use alv styles to achieve this, set the style for each record before displaying the ALV. Structure LVC_S_STYL.
Take a look at the example BCALV_EDIT_02, it is OOPS based, but check how the style table is filled.
regards,
Advait
Similar Messages
-
: How to make a cell editable and uneditable in a JTable
i have created a table and want to make some modifications in the cells and also make it uneditable...i hace used abstract table model . kindly guide me
You have got to implement the 'isCellEditable' method within your abstract table model. If you want to allow the user to only edit cells in the first column you would add the following:
public boolean isCellEditable (int row, int col) {
if ( col == 0 ) {
return true
} else {
return false;
}That should be sufficent to base your own needs off.
Jon -
How to Make a Checkbox editable in a JTable?
I have a CustomModel inheriting from the AbstractTable Model. I make the isCellEditable( ) function in the CustomModel return true for all the columns(pl. see code snippet). One of the columns returns a Boolean value (checkbox in the table) and the rest of the columns return Strings (JLabels in the table). I can edit the all the columns which return text (JLabels), but cant seem to edit the column containing the Boolean Value (checkbox). How can I make the checkbox editable?
Help is greatly appreciated...
here is a piece of the sample code:
public class CustomModel extends AbstractTableModel
private Vector _columnMaps = null;
private MyDefaultData _data = null;
public SniTableModel(Vector columnMaps, MyDefaultData data)
_columnMaps = columnMaps;
_data = data;
public Class getColumnClass(int col)
Object value = getValueAt(0, col);
if (value != null)
return value.getClass();
else
return (new Object()).getClass();
public boolean isCellEditable(int row, int col)
return true;
}Try this:
i) extend DefaultTableModel instead of AbstractTableModel
ii) public Class getColumnClass(int c) {
if (this.getValueAt(0,c) == null)
return super.getColumnClass(c);
else
//convert booleans to checkboxes in the table
return super.getValueAt(0, c).getClass(); -
How to make a pdf editable and save for print
Hi,
I just joined Adobe Cloud and it's been a while since I have used acrobat. I have made a brochure that I need a couple of things to be editable on. See below. I need the two areas highlighted in red to be editable for different locales/people. My questions are:
A) I assume Acrobat is the way to do this. I also have FormsCentral if that works better. Can someone tell me how to make these two fields editable?
B) What program do they edit with? Acrobat Reader?
C) How do they save and output it for print?
Thank you,
JohnThis is not about what Acrobat can or can't do - and you just said they won't have it anyway. It's about the limitations of PDF. A proper solution is to develop (at some expense) a server side PDF generator that takes the user's input and makes them a custom PDF. I don't know if you can just subscribe to a service to do this. If you aren't going to have them use Acrobat, form fields are your only option. Be sure they (and you) understand the limitations and that they must use Reader (not one of the many other PDF viewers). Be sure you understand about reader enabling: many versions of Reader CANNOT SAVE filled in files unless they are specially prepared.
So back to your original question: how do you make the fields editable: with the Forms function in Acrobat. You may have better luck in the Acrobat Forms forum. -
How to make a checkbox hide and show div between two different pages
Hi
I am developing a mobile site application.
Currently I need to make a checkbox effect.
Here is how I want the checkbox to work for me..
I want users to click on the checkbox, for an option on the editor as well as its content on the live mobile to hide.
These are two different files which contains the user interface.(the live mobile file and the editor file)
Now how can I make it possible to make both options hide or show at the same time after a user clicks on the
checkbox to show or hide.
Is it possible for a checkbox created on a different file affects an external file to hide a div within that file?
If so kindly advice me on this.
Thanks in advanceThere are several tutorials out there for dissolving a layer, turning text to sand, and similar things. Use any/all of those and then time remap that composition to make the particles form into your word.
-
How to make table as "editable false"
Dear Forum,
i am user of jDeveloper jClient/Swing .jpr.
cutomer table having following attributes-
1.cust_id (primary key)
2.cust_name
3.cust_add
Suppose customerview bind with jTable1.
Using ViewObjectEditor, i set "updateable never" for all fields.
This show error, when data insert into table " cust_id as
read only".
Help me, Using jClient Binding how to make Table as "editable false".Overriding method prepareEditor() for new table:
private JTable tableList = new JTable(){
public Component prepareEditor(TableCellEditor editor, int row, int column) {
// 1 and 2 column is not editable
if(column == 0 || column == 1){ return null; }
return super.prepareEditor(editor, row, column); -
How to make a checkbox mandatory
Hello,
I created a checkbox where I want the user to check that they have read and acknowledged a privacy statement.
I am curious how I make the checkbox mandatory, as I dont see an option in the Object Pallete.
Thanks in advance!
NikWrite the following line code on initialize event of the CheckBox to make it mandatory.
this.mandatory = 'error'
Nith -
How to make a CheckBox for a report parameter?
Hi,
How to make a CheckBox for a report parameter?
thanxdesign ur parameters forms using forms and call ur report form there
-
How to make field is editable in ALV CL_SALV_TABLE only)
Hi,
How to make field is editable in ALV CL_SALV_TABLE only)
Any one has tried to make field si editable by using CL_SALV_TABLE class.
*I know how to do it in REUSEALV function module and CL_GUI_ALV class.*_
Please reply only if you riedin CL_SALV_TABLE class method.
Regards
Rajesh V
Moderator message: not supported, please read class documentation and search for previous discussions.
Edited by: Thomas Zloch on Mar 17, 2011 2:07 PMHi Chad,
Please refer the link,
Edit field in alv
Regards,
Hema.
Reward points if it is useful. -
How to make Date fields Editable or Non-Editable based on Call Staus
Hi,
We are using CRM2007 Web GUI for Service call creation. We are using date profile to populate the dates. Here my requirement is if call status is 'Call created' then some set of date fields to be appeared in display mode(Non Editable) and some set of date fields to be appeared in change mode(Editable). How to achieve this. Kindly suggest me.
Regards,
SteveHello,
Kindly check the following thread which is giving many solutions for your requirement:
Re: how to make field non-editable (display mode)
Kind regards,
Nicolas Busson. -
How to make google come up and not yahoo when i click anew tab
how to make google come up and not yahoo when i click a new tab
== This happened ==
Every time Firefox opened
== todayYou can use 1 of these add-ons
[https://addons.mozilla.org/en-us/firefox/addon/newtaburl/?src=search
NewTabURL ]
[https://addons.mozilla.org/en-us/firefox/addon/new-tab-homepage/?src=search New Tab Homepage]
with NewTabUrl you have more options
thank you
Please mark "Solved" the answer that really solve the problem, to help others with a similar problem. -
Adobe Captivate 7 Project How to make Rollover cations, audio, and video work in HTML format?
Honestly, I don't even know why this is an option. The conversion to Flash is completely unusable.
I have exported some things to Flash, and since I program in Flash all the time I was able to manipulate to work to some degree. Most text captions are built with multiple elements and completely fall apart.
Sorry, I can't be of more help. -
How to make images fade in and out
how to make images fade in and out continuously
HI,
The Ken Burns effects can do this nicely. Available in the iLife suite of software.
iLife 06 minimum requirements:
http://support.apple.com/kb/HT2675
iLife 06 - Amazon
Carolyn -
When you change PC how to make connection with iphone and new PC
when you change PC how to make connection with iphone and new PC
Yes, you can do it the same as any other database. The code would be similar.
I'd also suggest you not to use the JDBC ODBC bridge for connection. There are other drivers available for that.
Regards
xH4x0r -
How to make custom binary module and add to powershell?
How to make custom binary module and add to powershell?
I wish to add 'Microsoft.SharePoint.Client.dll' in powershell as binary module so I can use its intellisense.Hi Biraj,
I replied to this in other thread
https://social.technet.microsoft.com/Forums/en-US/a13c9cc8-7d53-46b5-b5bb-65404db2d347/how-to-make-intellisense-enable-in-powershell-in-csom-for-sharepoint-online?forum=sharepointdevelopment
Kind Regards,
John Naguib
Senior Consultant
John Naguib Blog
John Naguib Twitter
Please remember to mark this as answered if it helped you
Maybe you are looking for
-
Problem with SolMan installation on Windows x64
I'm stuck at step 35 "Change default passwords". Anyone know what wrong? INFO 2008-11-28 18:23:07.234 Executing function call SUSR_USER_CHANGE_PASSWORD_RFC. ERROR 2008-11-28 18:23:07.359 FRF-00025 Unable to call function. Error message: Syntax error
-
[JS, CS2] Find Text - Change Paragraph Style
I have text supplied to me formated with <g>,< b>,<k> or <r> at the start of paragraphs, this represents different paragraph styles that need to be applied. <br /><br />I started a script below, but it comes up with an error at "app.findTextPreferenc
-
Problems with downloading software.
I have just got an Mac and wanted to download software so that I am able to game online. When I have finished downloading the software an error message appears saying 'Unable to play video'. I'm obvisouly a new user and need some advice to what I nee
-
UnsatisfiedLinkError: no db_java-4.4 in java.library.path
I am stumped. I have the appropriate libraries in /usr/lib, and when I run this from the command line, it works fine. When I run the application through the Sun One server however, it comes up with the "UnsatisfiedLinkError: no db_java-4.4 in java.li
-
TS4083 my calendar does not sync
Hello, My Ipad will not sync with my PC calendar. What do I do. Please make it simple, syncing for dummies. Thank you Gayle