Help Needed in creating dropdown menu in excel using JXL
Hi,
I am trying to create dropdown menu in using JXL.
The Code:
private void createRequiredRows(WritableSheet writableSheet, List unallowCodeList,int rowCount
, int startRowNo,int colCount) throws WriteException {
Label unallowCode = null;
WritableFont noBoldFont = new WritableFont(WritableFont.ARIAL, 8,WritableFont.NO_BOLD);
WritableCellFormat dropDownCellFormat = new WritableCellFormat(noBoldFont,new NumberFormat("000"));
dropDownCellFormat.setAlignment(Alignment.RIGHT);
WritableCellFeatures writableCellFeature = new WritableCellFeatures();
writableCellFeature.setDataValidationList(unallowCodeList);
for (int rowNo = startRowNo; rowNo < startRowNo + rowCount; rowNo++) {
unallowCode = new Label(colCount, rowNo, "Select",dropDownCellFormat);
unallowCode.setCellFeatures(writableCellFeature);
writableSheet.addCell(unallowCode);
it creates a drop down in the Excel.
But writableCellFeature.setDataValidationList(unallowCodeList); has a limitation of characters .So the dropdown menu gets truncated when it exceeds the limitation.
Can anyone help me in creating dropdown menu in excel without any limitation using JXL..
Thanks,
Bisin
Hi,
I dont know the solution for this, but heres a work arround
//create new label some where else in the excel sheet as shown below
Label lblcmbdata;
for(int i=0; i<1000; i++)
lblcmbdata = new Label(75, i, (i+1)+" satish", format);
sheet1.addCell(lblcmbdata);
}//set the validation range as shown below
writableCellFeature.setDataValidationRange(75,0,75,1000);
Label cmb = null;
cmb = new Label(0, 1, "Select",format);
cmb.setCellFeatures(writableCellFeature);
sheet.addCell(cmb);this will create a combo list with 1000 values
also you can keep the data to be populated in the different sheet in same workbook by creating a named range as below
workbook.addNameArea("cmbdata", sheet1, 0, 0, 0, 1000);
// then fill the data in sheet1
Label lblcmbdata;
for(int i=0; i<1000; i++)
lblcmbdata = new Label(0, i, (i+1)+" satish", format);
sheet1.addCell(lblcmbdata);
//set the validation named range as below
writableCellFeature.setDataValidationRange("cmbdata");
Label cmb = null;
cmb = new Label(0, 1, "Select",format);
cmb.setCellFeatures(writableCellFeature);
sheet.addCell(cmb);Thanks and Regards
Satish
Similar Messages
-
Help needed for as3 dropdown menu and html
First of all hello! I have to create a html website for a company. The design i've made is in photoshop ....and i have to create a dropdown menu. The first question is : Can i create the dropdown menu in flash without having to use html frames? Can i link one of the buttons of the menu in a html page so that it loads in the same browser window another html page (if so .... with what function?)? Please ... i need to know ... because i simply prefer to implement it in flash rather then html. And the second big question is : Can the stage in flash be transparent? Because if i make the menu in it, it will be impossible to match any dimensions of the stage .... and i would like to embed it into a html page...if possible without the stage color >..... Thanks in advance!!!! Tudor
For opening pages you want to look into using the navigateToURL() function. The help documentation provides information abiout it an how to control the window aspect as well.
To make the stage transparent is more of an html aspect than a Flash aspect, though you can set it up to publish that way. The key is to set the wmode paraemter that is in the html embedding code to "transparent". I am not sure if all browsers supports this feature, but I think more are willing to. -
Need to create a menu with subitems similar to OTN main page bar menu
Hi,
Using Jdev 11.1.1.5
I need to create a menu bar with simple sub-items (set of links to other sites or pages) similar to what OTN main page uses.
The menuBar with subitems shown in the ADF demo site is close but doesn't look like as OTN i.e. set of tab/boxes.
Link to the ADF demo with menuBar:
http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/index.jspx?_afrRedirect=3119879384215420#%2Fcomponents%2FmenuBar%2Felectronics.jspx%40%3FAdf-Window-Id%3Dw0
Not sure which ADF component to use?
ThanksThanks Shay. I think skinning would be simpler and will make use of the provided components in ADF, but I haven't done any work with skinning but did use CSS so not sure how simple to figure this out.
Most of the commercial web site uses tabs/boxes as I am trying to do. It will be nice to have ADF component or simple solution.
Thanks -
Need help on how to create dropdown menu in dreamweaver 9
Hello Forum Members
I am working on dreamweaver , making my website by using dreamweaver 9 .
My problem is, i want to create a dropdown menu but when i move my cursor on any item then the drop down links appears on the same item itself and that item diappears.
For Example my menu is like --- item1 item 2 item 3 item4 item5
item2.1 Item3.1 item4.1
item2.2 item3.2 item4.2
now when i move my cursor on any of these menu headings (like item 2, item 3, item 4) which has drop down links the main menu item disappears and the drop down links (item 2.1, item2.2 like wise) reflects on the place of that (item2) menu item.
Please help me with this and not with the scirpt that would be the last option because i do not have any knowledge of html. Please tell me the feature in dreamweaver 9 from where i can correct it.
Thanks In Advance
SeanPlease Help
-
Help needed to create desktop application background using javaFx.
Hi,
i need to create background for my desktop application in JavaFx. It have top side bottom menu bars to place icon buttons for my app. The whole scene need to resize. I had tried this using
JavaFx composer. But my issue is like in java swing i can not able to create different panels and set different styles. Please help me on this issue.
Thankyou.Hi mate take a rectangle and fill it to scene width !
use fill gradient and bind it to your main scene.width
for example :
Rectangle {
fill: color.Blue
stroke: LinearGradient {
startX: 125.0, startY: 0.0, endX: 225.0, endY: 0.0
proportional: false
stops: [
Stop { offset: 0.0 color: Color.web("#1F6592") }
Stop { offset: 1.0 color: Color.web("#80CAFA") }
use appropriate start and offset then bind it to scene width and height.
width : bind scene.width;
height : bind scene.height ; -
I need to fetch records from a table. Please help me to create a query
The Tablename is Employee. It has the following records
Department Empname Gender
Finance Tom Male
Finance Rick Male
Finance Stacy Female
Corporate Tom Male
Corporate Rob Male
I want to select the value of the Gender field from the Employee table corresponding to a Department
If all the values in the Gender field are 'MALE' corresponding to 'finance' in the Department field, the value should be 'MALE'
If there is a value 'FEMALE', the gender corresponding to the Empname 'TOM' should be considered as the genderTables have rows - not records.
Your question is a basic SQL language question - which means you do not know the SQL language. This forum is not a classroom for teaching you the SQL language.
Use the following as the basic outline of how your SQL language statement need to look like for selecting the required from the table:
SELECT
<<sql projection goes here>>
FROM <<table name goes here>>
WHERE <<filter conditions go here>>
{code}
The SQL projection specifies the list of columns the SQL need to return to the caller.
The filter condition is basic predicates and AND and OR can be used for multiple predicates.
Go to http://tahiti.oracle.com and look for the +SQL Reference Guide+ for the Oracle version you are using. The +SELECT+ statement syntax is covered in detail and sample statements are provided.
And please do not expect this forum to be used as a classroom, or expect this forum to do your homework for a class. -
Help needed to create Quik Time VR movies, step by step
Hello,
thank you for your attenction.
I need to create Quick time vr movies, and I need to know the exact sequance of steeps to do it, and if the starting point I use is correct.
1) I shooted a sequence of photos with my digital camera (for example: www.stebianchi.com/quicktimevrhelp/still-photo.jpg).
2) Then, with photoshop (CS4) I choose: Automate/photomerge and I select all them to joint them in a bigger 360° panoramic one (www.stebianchi.com/quicktimevrhelp/pan.jpg). If, untill here, all is correct, the first question: in photoshop Photomerge layout option, do I have to choose one voice "auto, perspective, cylindrical, spherical, etc..." rather than anoter one of these?
3) from here, I really need your help.
First of all: the great doubt:
My photos can not cover a spherical panorama, they're only a "ring" around a center (and not a spherical texture). To cover all the surface (or almost all, ok...) of my ambient, do I have to use a wider lens on my camera or there is a different solution (for ex a vertical photomerge?).
4) Done this, I think I shuold buy a software like Cubic converter, to set and export the QTVR movie. Right?
Thanks a lot guys,
all the best!
StefanoYou can call your local apple store(find one on the home page of apple.com) and they will give you instructions how to convert DVD to iPod. That is what they told me, but from what I heard, you may need more than Quicktime Pro. Just call and ask them, because if you make a manual of how to do it, it could help me a lot.
(I'm looking for a good DVD converter, already know some, beside the internet download ones) -
URGENT help needed in creating external xml video plalist. Please help!
I was given an assignment to create and external video playlist using an xml file. I have never used flash before, know nothing about encoding and all that was given to the class in terms of instuctions was a short tutorial that has no resources for troubleshooting. We were given everything; the external playlist file equipped with the video skin, the video list, actionscript that loads the xml and the xml file. We were told that all we need to do is change the names of the videos in the xml file to match the names of our videos. I did that. We were also told we needed to "name target", but we were not informed on how to do this. I have tried everything, visited every tutorial and I cannot figure out how to get this damn thing to work. I cannot even get flash to load the xml file. PLEASE HELP.
Here is the xml file:
<?xml version = "1.0" encoding = "i-8859-1"?>
<playlist>
<ADogWithoutABone
flvurl="ADogWithoutABone.flv"
desc="Hyper Wall First Video" />
<Highway
flvurl="Highway.flv"
desc="Hyper Wall Second Video" />
<PsychoBabble
flvurl="PsychoBabble.flv"
desc="Hyper Wall Third Video" />
<SomethingElse
flvurl="SomethingElse.flv"
desc="Hyper Wall Fourth Video" />
</playlist>
I tried putting in the entire address of the file location, but it did nothing.
Here is the actionscript in the flash file:
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);
xmlLoader.load(new URLRequest("playlistXML.xml"));
function xmlLoaded(event:Event):void {
var playlistXML:XML = new XML(event.target.data);
var item:XML;
for each(item in playlistXML.videoname) {
trace("item: "+item.attribute("flvurl").toXMLString());
myPlayList.addItem({label:item.attribute("desc").toXMLString(), data:item.attribute("flvurl").toXMLString()});
//Select the first video
myPlayList.selectedIndex = 0;
//And automatically play it
myPlayScreen.play(myPlayList.selectedItem.data);
//Add a listener to detect when new video is selected and play it
function listListener(event:Event) {
myPlayScreen.play(event.target.selectedItem.data);
myPlayList.addEventListener(Event.CHANGE, listListener);
I tried placing the full address of the xml file in, along with the file address of the videos, but again it did nothing. Everything is located in the same file, and the videos in a sub file in that file. I tried taking out the sub file and putting all the videos in the same file, but it did nothing. I am sure it's something very simple, but like I said I have NO experience with this whatsoever. I am SO lost and DESPERATELY need help. PLEASE someone SAVE MEEEE!
ThanksIt might be a crossdomain.xml problem.
Please make sure that the server hosting the xml allows the domain where the swf is hosted.
You can start with:
<?xml version="1.0" encoding="utf-8" ?>
<cross-domain-policy>
<allow-access-from domain="*"/>
<site-control permitted-cross-domain-policies="master-only"/>
</cross-domain-policy> -
Help Needed in Creating Java Class and Java Stored Procedures
Hi,
Can anyone tell how can i create Java Class, Java Source and Java Resource in Oracle Database.
I have seen the Documents. But i couldn't able to understand it correctly.
I will be helpful when i get some Examples for creating a Java Class, Java Source and Stored Procedures with Java with details.
Is that possible to Create a Java class in the oracle Database itself ?.
Where are the files located for the existing Java Class ?..
Help Needed Please.
Thanks,
Murali.vHi Murali,
Heres a thread which discussed uploading java source file instead of runnable code on to the database, which might be helpful :
Configure deployment to a database to upload the java file instead of class
The files for the java class you created in JDev project is located in the myworks folder in jdev, eg, <jdev_home>\jdev\mywork\Application1\Project1\src\project1
Hope this helps,
Sunil.. -
Help needed for creating 1 invoice for 2 different material types.
Dear, Gurus
I really need help here I have spent 3 days cracking my head trying to solve the problem. Problem is client was creating invoice with reference to order and while invoice was being made it would cause an invoice split. The materials involved are Trading Good and Service Material. They would like only 1 invoice. Note nothing was different except material group and item cat. of the material. payment terms billing dates partners everything is same.
Current item config for Trading Good material is ZMPI-project item cat.
Copying requirements 023 Item ord.ref. w/o AZ Billing quantity A
Data VBRK/VBRP 000 Pos./neg. quantity +
Pricing type K
PricingExchRate type
Price source
Current item config for service Material is TAD-Service
Copying requirements 002 Item/order-related Billing quantity A
Data VBRK/VBRP 001 Inv.split (sample) Pos./neg. quantity +
Pricing type G
PricingExchRate type
Price source
I was told to change Data VBRK/VBRP to 003 One Invoice which I did in both of these item cat. and yes they worked perfectly but at time of creating the invoice for service material the qty that showed was 11. Note: In sales order it is 1 qty. So I went back into the config of item cat TAD and changed copying requirement to 023 instead of 002 but nothing changed. Seems a qty of 10 is referencing something else which I have no idea what or where it is picking this up from. Just to see or test things I went into the sales order and tried changing the service material qty then a weird popup appears and says service order 12344456 has been blocked. (Seriously I have no idea why this would happen or should be existing at all.) Even if for some reason it is being referenced the service order that is existing is qty 1.
I really really do need help and if someone can help me that would be god sent.
Regards, AliYou did not mention what value is maintained in the field billing quantity in the copy control->Item settings. Check for the service item, what value is assigned. Put value A and re-test.
Note that whenever you change any settings in configuration side, you need to create a new documents to test the results of the settings. You should not use the existing documents.
When you say the document is blocked, then check the status of the sales order to find the reason for blocking (like credit block, approval etc)..
Regards, -
Help needed to create a CSS 'style-switcher' button.
Hi,
I need some help please in creating alternate style sheets for each page on a site I'm creating to enable users to change text size (i.e. small, normal and large options - sometimes, symbolized as a letter 'A' in varying sizes). The site has been built in basic format so far but I would like to add these features for the sake of usability. There are no actual problems with the site as it currently works fine, it's just this one thing I need help with.
Is this possible using post-processing methods, (which I have no problem doing) and if so could someone kindly point me in the right direction? I've searched the iWeb forum using keywords most relevant to this question and have found nothing.
Any help greatly appreciated,
Matt
MacMini G4 1.42GHZ Mac OS X (10.4.8)Thanks varkgirl,
This works (partially): this is the page:
http://www.charitydesigns.com/odyssey/index.html
The first paragraph is not responding and at larger sizes line spacing is not in proportion to the size of the text (and is squashed), what am I doing wrong?
Hope you can assist. -
Is it possible to create a dropdown menu in deramweaver
either using the default software or using an added tool? My
website is designed using dreamweaver. Howeve I wanted to use a
drop down menu on the top of the page, which I could not create
using dreamweaver. I ultimately ended up creating the menu by
manually coding it. The menu can be seen at my
Web Design Company
Homepage. Is there anyway this could have been achieved in
Dreamweaver without having to code it manually.Ironic that this would be posted just a few hours after Al's
post announcing
PMM2, no? 8)
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Ken Ford - *ACE*" <[email protected]> wrote in
message
news:gidd69$n7e$[email protected]..
> Commercial extensions:
>
>
http://www.projectseven.com/products/menusystems/pmm2/index.htm
>
>
http://www.projectseven.com/products/menusystems/pmm/index.htm
>
> Not an extension, and would be manual:
>
>
http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
>
> --
> Ken Ford
> Adobe Community Expert Dreamweaver/ColdFusion
> Adobe Certified Expert - Dreamweaver CS3
> Adobe Certified Expert - ColdFusion 8
> Fordwebs, LLC
>
http://www.fordwebs.com
>
http://www.cfnoob.com
>
>
> "London Web Designer"
<[email protected]> wrote in message
> news:gicgu3$ifh$[email protected]..
>> Is it possible to create a dropdown menu in
deramweaver either using the
>> default software or using an added tool? My website
is designed using
>> dreamweaver. Howeve I wanted to use a drop down menu
on the top of the
>> page, which I could not create using dreamweaver. I
ultimately ended up
>> creating the menu by manually coding it. The menu
can be seen at my
>>
http://www.kronikmedia.co.uk
Homepage. Is there anyway this could have
>> been achieved in Dreamweaver without having to code
it manually.
>> -
Help needed to create Notification in IW21 tr code using BAPI
<b>Hi Experts,
I am searching for some BAPI's of IW21 tr code, where I need to create Notification using the details of some legasy system/flat file. I dont wanna use BDC, I need to use BAPI so could anyone help me out.
Thanks in advance,
Sunil</b><b>Hi Surya,
Thanx for your reply, if u have the program to create the notification could you please send me,,,, I need it urgently....I have a Z-table which has the datas like;
CusomerName
Customeraddress
Work_order_type
Work_order_priority.........and so on...
Now I need to create notification using the same datas....
Thanks in advance..
Sunil</b> -
HELP NEEDED BADLY, creating Block Avoider game.
Could anyone please help me with creating a game called block avoider, i have a link here to show what the game should look like. I need alot of help with it so if anyone is good a coding and see`s this as an easy project helping me would be greatly appreciated.
LINK TO SIMILAR GAME:
http://scratch.mit.edu/projects/timo4932/82326We can help, but we won't do it for you. Start the game, and post a question if you are stuck and need help.
-
Help needed . Creating DSN in Unix
Hi The Oracle server is running on Unix platform. I need to connect the server from my client application which recoganises the DB using its DSN. Please help me in creating the DSN in the Unix environment.
Any help will be Apreciated.
Regards,
Badhri([email protected])I'm a bit confused. You need to have an ODBC DSN on your client machine, not on your server machine. ODBC is generally a Windows-only technology-- at least the Oracle ODBC driver is available only on Windows. There are some third-parties that have created various Unix ODBC drivers, however.
If you need to create a DSN on a Unix box, you must not be using the Oracle driver or the standard DSN configuration dialogs. You'd have to contact whatever third-party driver provider you're using to find out how they handle things.
Justin
Maybe you are looking for
-
I am looking at purchasing a Pre when it comes out this weekend. Does anyone know whether it has the capability to use the phone over broadband? I have a friend that just purchased another smartphone that has the ability to use the phone over his wir
-
Scan driver for HP LaserJet 1536dnf MFP
Hi! Could anybody provide a driver for HP LaserJet 1536dnf MFP for scanning that it really work?
-
User Exit for trx FAGL_FC_VAL program FAGL_FC_VALUATION
does anybody knows if is there a user exit for trx FAGL_FC_VAL / program FAGL_FC_VALUATION? I need SAP to copy some information fron valuated document into valuation document created by the program. Cheers Rafael Barreda
-
how do i delay the screensaver kicking in? I want to have the music function available without havingto constantly press slide to open. Ipod touch. Thanks
-
Won't connect to internet after downloading
after downloading it will not connect to internet, IE does. I have uninstalled /installed many times. when uninstalling a security message as follows comes up asking to be quarantined: firefoxhelper c:\users\brad\appdata\local\temp\nsu.tmp\av_.exe. I