DataGrid width column resize question
Is it possible to implement a DataGrid with absolute width columns AND columns of relative width?I have a datagrid that resizes with the browser window and widths of columns can be resized by the user, but the itemRenderer buttons still have to do the same width(resizable='false').
I tried different combinations to attack this problem manually resize the columns in the resize event DataGrid, binding the function column widths, but nothing seems to work well.
any tips/suggestions/ideas out there?
I can post some samples of failed attempts if requested.
OK, try this. It's 'force-TI-in-la submission' programming and isn't usually my style, but good, the other stuff apparently do not work.
TS
Tags: Flex
Similar Questions
-
Finder column resizing handle missing
The Finder column resizing handle is missing when I open the Finder. I trashed the file com.apple.finder.plist. Restarted. Made no difference.
In preferences, I have 5 files com.apple.finder.plist. One is .lockfile. We're just. Finder.plist. the other 3 have strings of characters after them, for example, com.apple.finder.plist.ahWZKxi
There should be 5 finder plist files?
Suggestions for the restoration of the column resizing handle?
Thank you very much.
It is not all handles. Just put the cursor between columns, and then drag.
If you have scroll bars always value, they will always show.
-
Question of width column table
After the update of my model and add a new button in the navigation bar, I proceeded to update the rest of the pages. After that, the right column of pages is strained now as you can see in the image below. However, when I check online, everything seems fine. I feel that I'm forgetting something that Dreamweaver is trying to find. Any help would be great.
This is a screenshot from Dreamweaver
http://members.Shaw.ca/red_one6323/screen.jpg
This is the site
http://members.Shaw.ca/red_one6323/WM/I thought about it, apparently, I got the Middle colspan = "3" value column I've used this for a previous layout and didn't change because I've seen a change in the web browser. I removed the colspan and sets the view in Dreamweaver.
Thanks for all the suggestions!
-
itemFocusOutHandler with DataGrid editable selected point question
Hi all, I'm relatively new to Flex and I have a question that is generating a lot of frustration. I'm sure that the solution is string me in the face, but I just can't see the forest for the trees.
OK, I am trying to achieve a data grid that is populated with data based on a one-to-many relationship between the people and the courts with a join to show people that do not have assigned courses and then assign these by date if necessary.
It is action of itemFocusOutHandler where the database is then updated with the selected data grid component.
Question: when you're away from the cell update the triggering event and the database is updated with the selected new row and not passed. I expect the update to trigger until the selected element is change, but it doesn't seem to be the case.
Example of
Added to John on the 24th courses
Tab to Jason the selected item changes, and Jason is added to the database with no entry. ALSOM If then back to John of Jason, the database will be updated with data for John
View database:
Table_ID CourseHeader Date Person_IDHeader 4 1 28/10/2010 2 Where the person is equal to
Table_ID First Last 1 John Smith 2 Jason Holmes You are willing to provide any help will be very appreciated.
And the code (I tried to simplify this if possible):
<? XML version = "1.0" encoding = "utf-8"? >
< s:Application ' xmlns:fx = ' http://ns.Adobe.com/MXML/2009 "
" xmlns:s = 'library://ns.adobe.com/flex/spark"" "
"" xmlns:mx = ""minWidth ="955library://ns.adobe.com/flex/mx" minHeight ="600" " "
" xmlns:register = 'services. Course.*">
< fx:Script >
<! [CDATA]
import mx.controls.DateField;
import mx.controls.Text;
import mx.data.ChangeObject;
import mx.events.CalendarLayoutChangeEvent;
import mx.events.CollectionEvent;
import mx.events.DataGridEvent;
import mx.events.FlexEvent;
import mx.events.ListEvent;
protection function dC1_changeHandler(event:CalendarLayoutChangeEvent):Sub
{
var dforQ:String = DateField.dateToString (dC1.selectedDate, "DD/MM/YYYY" );
var SD189:String = dforQ;
gateCbyDResult.token = csr.gateCbyD (SD189);
}
protection function dataGrid_itemFocusOutHandler(event:DataGridEvent):Sub
{
var dateSQLDate:String = DateField.dateToString (dC1.selectedDate, "DD/MM/YYYY" );
var entrydate:String = dateSQLDate;
saveNewResult.token = csr.saveNew(dataGrid.selectedItem.course,entrydate,dataGrid.selectedItem.empid);
}
]] >
< / fx:Script >
< fx:Declarations >
"" < csr:Csr id = "CSR" fault ="Alert.show (event.fault.faultString +"\n"+ event.fault.faultDetail)" showBusyCursor = "true""/ > "
" < s:CallResponder id ="saveNewResult"""/ >
" < s:CallResponder id ="gateCbyDResult"""/ >
< / fx:Declarations >
< mx:DataGrid x=" 103 " y=" 252 "
id="dataGrid"
{" dataProvider ="{}gateCbyDResult.lastResult}"" "
" verticalScrollPolicy ="off"" "
{" number of lines ="{}dataGrid.dataProvider.length}"" "
editable="true"
itemEditEnd = "dataGrid_itemFocusOutHandler (event)" " >
< mx:columns >
"" < mx:DataGridColumn headerText = "last" dataField ="lastName" editable = "false""/ > "
"" < mx:DataGridColumn headerText = "first" dataField ="firstName" editable = "false""/ > "
"" < mx:DataGridColumn id = "courseInput" headerText ="course" dataField = "course" editable ="true""/ >
< / mx:columns >
< / mx:DataGrid >
"" < mx:DateChooser id = "dC1"change = "dC1_changeHandler (event)" x = "102" y ="38'' / >
< / s:Application >
Thank you again...
If your topic says Manager itemFocusOut, implies that you are using a
event Focusout/focusouthandler(). I did not read the code that carefully.
Verify that the selectedItem has already changed. Maybe he has. You
must be able to use the information in the DataGridEvent to access to the
data item that was published.
-
DataGrid - width custom for horizontalGridLines
Hello
1. I want to set a width for horizontal gridlines in a DataGrid. There are no public properties or methods to set the width of the line of separation between the lines. I tried to make a custom class that extends the DataGrid control, but I do not know how to set it.
2. same problem is with the type header separator. I tried to resize is, if it is smaller, but no result.
3. I want to resize the width of the vertical scroll bar of the datagrid control.
If someone knows how to solve these problems, I would love.
Thank youCreate your own class that extends the DataGrid control. Then you can customize the grid lines a bit by substituting the following function in your class.
In this example the thickness of line is set to 5. Be sure to include imports:
import flash.display.Graphics;
import flash.display.Sprite;
Import mx.controls.listClasses.ListBaseContentHolder;Note that I have commented the call to super.drawHorizontalLine because the thickness of the line must change.
-
How to get the column headers into an Excel report with variable width columns?
Hello:
I read this question before but I can´t open the link when I try to download the solution I get the following: status HTTP 404 the requested resource is not available.
Can someone help me with the solution? I want to just put a heading for each column (1 thermocouple, thermocouple 2, anemometer, etc.).
In advance, thank you for your help!
You may need to take some tutorials.
LabVIEW Introduction course - 3 hours
LabVIEW Introduction course - 6 hours -
Workflow / Image Resizing Question
Hoping someone can help me with a question of image resizing.
I want to start an online store. I wish I could sell the same image on a t-shirt and a poster. I'll probably use Print will print/performance. They require the images to print at 300 dpi and be sized correctly. Thus, an image to print on their standard t-shirt (12 "x 16" (1.333:1)) must be 3600 x 4800 pixels.) ") To be included on their greatest poster (24.5 "x 36.5" (~1.5:1)), the same image should be 7350 x 10950 pixels.
If I set my camera to produce a larger image, I get 6016 x 4000 pixels (~1.5:1). To maintain optimum image quality, I think I should treat this image in PS to create a main folder. I can then Downsample to create a t-shirt 3600 x 4800 image and pace to create a larger image and posters.
Alternatively to pace process first of all, the image of the poster, and then downsample from there, in the image of t-shirt 3600 x 4800 pixels. This seems like it might be problematic.
Another alternative would be to cadence to the poster image, downsample the image of t-shiirt, and then process each image separately. To optimize the images CMYK will print requires, I will probably need to do a separate processing (twisting) for each image in any case, but do completely separate treatment for each image is a lot more work. Any advice?
When you use Image pro script processor you source image file should be your camera file. Here's the best pixels you have for your image. All image output processing start with these pixels for each file will be saved... Your output image are always interpolated from these pixels. You don't have to resize the image, you can save the Pixels camera provides.
The way of working scripts of image processors are. They open an image source file in a document. Duplicate this document and treat the fooled until what he records and produces an output file for the document. Then he closes the dupe and repeated the dupe and process until all output files are saved to the image processing. Then the script closed the original document, that it opened without saving it. The script then move to the next image file to process. When all output images are only save the last open image document is closed and the script is done.
You can include an action for each file in output production, The Image these action begins by still isn't the pixels of the source image and image that was treated for other output files. You can have the action executed before or after any resizing you do not have the script. Once again, resize is optional. You don't have to do the desired resizing script, you can if you want to perform the resizing in the actions that you use in the treatment of the output image.
There is no problem in maintaining its quality. Quality only depends on how you treat the pixels of the original source image to preserve the quality that you first for each output image...
Photoshop menu File > Automate > Image Processor Pro... Here the dialog box, you will see
Very flexible, you can save as many image files that you need for each Image processing.
-
column of question: query customerID sqlplus appear twice
I tried several ways to view a query where indicates the client who made more than 3 rentals from 01 Nov to 31 Dec. However, for some reason any the customerID column appear twice.
* I use 3 tables to get this result:
Select RentalAgreement.membershipcardid as "MCardID."
Customer.CustomerID, Customer.CNAME, Customer.Address,
membershipcard. CustomerID, Invoice.rentc, RentalAgreement.DateAndTimeOfIssue,
Count (RentalAgreement.membershipcardid) as 'NOfRents' RentalAgreement, customer, membershipcard, Bill
where rentalAgreement.membershipcardid = MembershipCard.membershipcardid
and customer.customerid = membershipcard.customerid
"and RentalAgreement.DateAndTimeOfIssue between November 1, 2012' and 31 December 2012"
RentalAgreement.membershipcardid group, MembershipCard.
CustomerID, Customer.CNAME, Customer.Address, Invoice.rentc, Customer.CustomerID, RentalAgreement.DateAndTimeOfIssue;
MCardID CUSTOMERID CNAME ADDRESS CUSTOMERID RENTC DATEANDTI
---------- ---------- ---------- ------ ---------- ---------- ---------
NOfRents
----------
107 N151AS of EDuois 27 27 60 11 November 12
5
108 28 WDuois N151AS 28 60 19 November 12
5
101 N193AS of ALuois 22 22 60 22 November 12
5
MCardID CUSTOMERID CNAME ADDRESS CUSTOMERID RENTC DATEANDTI
---------- ---------- ---------- ------ ---------- ---------- ---------
NOfRents
----------
101 N193AS ALuois 22 22 60 21 of November 12
5
101 N193AS of ALuois 22 22 60 20 November 12
5
101 N193AS of ALuois 22 22 60 24 November 12
5
MCardID CUSTOMERID CNAME ADDRESS CUSTOMERID RENTC DATEANDTI
---------- ---------- ---------- ------ ---------- ---------- ---------
NOfRents
----------
109 N151AS of ADDuis 30 30 60 3 December 12
5
Thanks for your time.
I'm not sure if this request seems to be logical, I would be grateful to any online guide to pl/sqlHello
978308 wrote:
Hi to you for your help, I have another question about pl/sql.When you have a new, separate question, then you should start a new and separate thread. This thread has 4 replies and is marked as 'response '. most of the people who have not participated in this thread (and in this case, it's just you and me) are not going to start watching now. You will get much better response if you start a new thread.
I use oracle 11.2.0. I'm trying to get a report of repairs, so I put a condition if:
3. WHERE RETURNED > 1; - then it will only show the repair costsI got an error after exec report_cursor
SQL > exec report_cursor;
ERROR on line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'REPORT_CURSOR' must be declared.
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored---------PL/PSQL-----------------------------
The line above shows what is simply boredom!
What follows is not just the PL/SQL code. Like many scripts, it's a mixture of SQL * more and PL/SQL (and, unwittingly, pure SQL, too).
'SET SERVEROUTPUT ON' is a SQL * Plus command. Like all SQL * most orders, be completed before the end of the line. In this case, it means "DECLARE CURSOR report_cursor IS" is taken as part of the SET command. When I run it, I get a SQL * Plus error message "SP2-0158: unknown SET"declare"optionSQL >
1 set serveroutput on DECLARE CURSOR report_cursor ISIf the first line is ignored. Since you have not started a block PL/SQL, lines 2 and 3 are considered as being a pure SQL query.
2. SELECT INVID REFERRED, INVOICEDA, REPAIRDETAIL OF THE INVOICE
3. WHERE RETURNED > 1;
4 I_INVID INVOICE. INVID % TYPE;
5 I_REPAIRFEE INVOICE. SENT % TYPE;
6 I_DATE INVOICE. TYPE % INVOICEDA;
7 I_DETAIL INVOICE. TYPE % REPAIRDETAIL;I know not why the lines 4-7 do not cause any errors, because the DECLARE has been ignored.
From line 8, the script is interpreted as PL/SQL: it looks like an anonymous block that does not have the optional DECLARE section.BEGIN 8
9 DBMS_OUTPUT. Put_line ('ID, cost and Scooter fixed Details'); ...Please formatting your code. It will help you as well as others.
All you have to do is to start the DECLARE statement on a charge line:
set serveroutput on DECLARE CURSOR report_cursor IS SELECT INVID , REPAIRFEE , INVOICEDA ...
-
How to properly align the menu bar in the width column fixed
Hello
I finally make the transition to Dreamweaver 8 for CS5 and basically completely away from the basic tabular presentation. I looked at many tutorials on youtube or other sites and have not been able to find a way to do what I want to do. Basically, I use the Dreamweaver 1 set, model of header and column footer. I want to have two horizontal menu bars (one at the bottom of the image header and the other at the top of the header of the image I used CSS and bulleted lists to create the bar menu (or least).) The bottom seems to be ok. The menu bar doesn't have the elements that will completely on the screen - there is no link to items in the middle where is the logo and then 1 item name to the right. So I created a menu bar that covers the 5 elements that is aligned to the left of the column wide 960. My challenge is to get the menu bar right (which is only 1 point-mailing list) to align at the top, then to the right of the column 960. In the element of class #mailinglistbar, when I put the absolute positioning and placement (top right of 0 and 0), he of on top but puts zero point compared to the full browser width. I want the words "mailing list" to be aligned to the right of the column 960 (basically right of Andrew Powell logo and above the hore) I tried all sorts of things and can't perform the alignment of the column. Perhaps there is a different way, I should do this, rather than two separate menu bars to the top horizontal menu. Any suggestion would be appreciated. See the link below for the file.
http://blueyondermediagroup.com/andrewpowell/Powell.htm
Thank you
Kirk
Replace by the following style rules
#topleftmenubar { font-family: Arial, Helvetica, sans-serif; font-size: 14px; height: 27px; width: 390px; float: left; } #topleftmenubar ul { list-style-type: none; } #topleftmenubar ul li a { font-size: 16px; color: #FC9; text-decoration: none; display: block; float: left; padding-right: 12px; padding-left: 12px; } #topleftmenubar ul li a:hover { color: #C90; } #mailinglistbar { font-family: Arial, Helvetica, sans-serif; font-size: 14px; height: 27px; width: 122px; float: right; } #mailinglistbar ul { list-style-type: none; } #mailinglistbar ul li a { font-size: 16px; color: #FC9; text-decoration: none; display: block; float: left; padding-right: 12px; padding-left: 12px; } #mailinglistbar ul li a:hover { color: #C90; }
GRAMPS
-
Reference another table without specifying the referenced column: syntax question
create table test (key primary number col1_pk,)
number col2_fk, col1, col2 number, check constraint test_ck (col1_pk > 0 and col1 > 0),
constraint fk_constraint foreign key (col2_fk) references test);
in this example, for bold hand why isn't there a reference included after column
test references?
is it because Oracle knows he must refer to the pk column?
> what is Oracle knows he must refer to the pk column
Yes.
-
Table invites the column space question OBIEE 11 g
Hello
I have a relationship with the table view and 2 columns in section guests table. When I see the dashboard report 2 invites showing by far. How can I reduce the space between the 2 column guests?
Any help?
Thank you
Prasanna
I found the solution. The law in the 2nd column of filling. It solves the problem.
-
3D extrude and bevel Resize questions
I am currently using two different versions of Illustrator, one on my laptop and the other on my new desktop computer. I cs5.5 on my laptop and cs6 on my desk and I recently encountered a problem. I created a company on cs5.5 logo and inside use exturde and bevel for the three rings. These resize well on my laptop but when I transferred the work on my desk now if I resize the logo at all, it seems something very strange happens over time and sometimes increases or fail to shrink as the logo is narrowed.
Any thoughts?
Very appreciated
Matt
(Size of the original logo on both computers |) Smaller resized logo on my laptop. Smaller resized logo on the desktop with cs6
Effects of scale Strokes & is verified on both machines?
-
Create table column position questions?
Hi all
I'm just confused the saying that the positioning of column in tables is not serious for the relational database?
Do you agree or disagree.
For me, I do not share. Why?
If it isn't serious.SQL> create table a (a char(10),b number); Table created. SQL> create table b (b number, a char(10)); Table created. SQL> insert into a values ('a',1); 1 row created. SQL> commit; Commit complete. SQL> insert into b select * from a; insert into b select * from a * ERROR at line 1: ORA-01722: invalid number
Thank youKinsaKaUy? wrote:
OK maybe I interpreted in the wrong sense :))Can you help with this problem.
I have an EMP table with more than 10,000 rows and 500 columns.
The developer was asked to edit a column ATTRIBUTE1 of VARCHAR2 (10) number;
It is said that the column must be empty to change the data type, so I created a backup:
CREATE TABLE EMP_BAK AS SELECT * FROM EMP;
TRUNCATE TABLE EMP;
ALTER TABLE EMP MODIFY (ATTRIBUTE1 NUMBER);How can I insert it using the... INSERT INTO EMP SELECT * FROM EMP_BAK;
To aggraviate the situation the designer wants to move the position of the column in the 100th place in 10th place.
Assuming that you can't reason with out them, how to make this task easier?Thank you
Rather than create a new table and your complications mentioned above, you can follow the Sub method I guess.
ALTER TABLE DUMMY_ATTRIBUTE1 ADD EMP NUMBER;
UPDATE EMP
ATTRIBUTE1 SET = DUMMY_ATTRIBUTE1
WHERE 1 = 1;COMMIT;
UPDATE EMP
ATTRIBUTE1 SET = NULL
WHERE 1 = 1;COMMIT;
ALTER TABLE EMP CHANGE ATTRIBUTE1 NUMBER;
UPDATE EMP
SET DUMMY_ATTRIBUTE1 = ATTRIBUTE1
WHERE 1 = 1;COMMIT;
ALTER TABLE DROP COLUMN DUMMY_ATTRIBUTE1 EMP;
-
Stacked column linking question
APEX 4.0
Anychart 5
Setting SQL shaped for a stacked column or a bar chart is pretty simple.
SELECT
link,
label,
Value1,
[value2],
[value3,]...
Of...
This will allow your entire column/bar become a link.
Is there a way to allow each value in a column/bar to post a link to another location?
For example -.
In view of the data set:
Label: balls football: baseballs: Tennisballs
East: 100:30:20
West: 40:50:60
North: 50:50:50
A stacked bar will create three bars, each with three regions. If a link was specified according to the format described above, each region in the East bar link to the same place. Ditto for the bars of the West and the North. However, I have a 9 different links for this data set. Is this possible?
AustinHi Austin,.
Yes, it is possible to define a different link to each item in your series on the chart. It goes down just in the way you write the query in the chart series. You can use a CASE statement to define a different link according to the value of the LABEL of your query, or you could make a UNION of several statements, with a different link defined in each select statement. Using your example data set, I've implemented the following example on my sample application - http://apex.oracle.com/pls/apex/f?p=36648:59 - and I have stressed the three queries used to generate the graph. The query of the 1 series uses a CASE statement, and other queries of two series are a UNION of several select statements. Is looking to achieve?
I hope this helps.
Kind regards
Hilary -
DataGrid with comboBox his question
Hi all
I have a comboBox as a converter of the header in my datagrid.
How do I start a function that it is in my main form (where the DataGrid is) when I change the selected item in the comboBox?
Thank you
Johnny
var parObj: NAME = FILE MXML PARENT this.parentDocument as [PARENT MXML FILE NAME];
parObj.somemethod)
Maybe you are looking for
-
Satellite R630 - palmrest materials - magnesium or plastics
I bought my R630, as soon as they were relased to the United Kingdom (Nov 2010). I was getting some minimal, the electric shocks through my palmrest R630.I'm sure that palmrest - keyboard surround was also made of magnesium/metallic alloy - with a sh
-
Hardware upgrade on Satellite A135-S2276
How can I know what I can improve my laptop for?I just want to be able to upgrade my laptop so that what works the best that it can. Upgrade RAM 1).Upgrade HDD 2).Upgrade CPU 3). (TOSHIBA) Satellite A135-S2276Intel (r) CPU - real T2060 @1. 60 GHz, 1.
-
I have a 6500 a - Z E710n and may not know how to do a two face one.
I'm trying to make a page two copy back of my 6500 E710n-z and he let me the icon face two, but there seems to be no way to ok it or make an impression from there. Any help would be appreciated. THX, Dave
-
Compaq presario 5102US: downloading files
Hello I have an old computer with windows XP and IE8. I tried to download files and received the message that IE8 is no longer supported. He installed firefox as my new browser. My question is how can I download these files to the appropriate folder.
-
I'm trying to download the phototshop but it says update failed, what can I do?
I'm trying to download photoshop but it says update failed, what can I do?