Moving column separator causes cell resize
Hello, y'all,
I've run into a strange issue, in which the cells of a table control will resize when I move a column separator. I can't always reproduce it and I have no idea what's triggering it. Is this a known issue?
Thanks,
Slowpoke
Slowpoke
CLAD (believe it or not!), using LabVIEW 8.5
They don't call me "Slowpoke" for nothin'!
Hello, Mr. Altenbach! Right, I should've been clearer. The problem is that the cells to the *right* spontaneously resize themselves during a Mouse Move event--and to the same width, as far as I can tell. I don't know what triggers it. I'm running LabVIEW 8.5.
Slowpoke
CLAD (believe it or not!), using LabVIEW 8.5
They don't call me "Slowpoke" for nothin'!
Attachments:
Untitled 1.vi 20 KB
Similar Messages
-
Why can't I double click column seperaters to auto resize in OSX Lion?
Why can't I double click column seperaters to auto resize in OSX Lion?
No idea, why you are so aggressive. We are only all trying to help each other.
You didn't mention anything about Cover Flow in your orignal posts, did you? I am neither content or not content using Column view. This has nothing to do with me! I was simply trying to help you by suggesting that Column view works.
By the way, I am not wrong. Column view resizes perfectly well when the vertical separator line is double clicked. -
Our WPF application uses DataGrid.
One of request is that first column of DataGrid does not show row separator and also does not show Left column separator. So it looks like the first column does not belong to the DataGrid. However, when select a row, the cell of first column still get selected.
How do we make it? Thx!
JaneCHi Magnus,
Thanks for replying our question and provide your solution!
Your solution works by setting "HorizontalGridLinesBrush" and "VerticalGridLinesBrush" to {x:Null} in the DataGrid style and modify "CellStyle" in first column as following:
<DataGridTextColumn MinWidth="32"
Binding="{Binding CellName}"
CanUserReorder="False"
CanUserSort="False"
Header="Cell}"
IsReadOnly="true" >
<DataGridTextColumn.CellStyle>
<Style TargetType="DataGridCell">
<Setter Property="IsEnabled" Value="False"></Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type DataGridCell}">
<Border BorderThickness="0" BorderBrush="{x:Null}"
Background="{Binding Background, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}" Margin="-1">
<Grid Background="{TemplateBinding Background}" VerticalAlignment="Center" Height="42">
<ContentPresenter VerticalAlignment="Center"/>
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</DataGridTextColumn.CellStyle>
</DataGridTextColumn>
We found another way to achieve it by using DataGridRowHeader. The good way to use DataGridRowHeader is that we do not need to make the first column ReadOnly (click on first column does not select whole row anymore). Select RowHeader in a row will select
whole row. Move scroll bar horizontally, the row header still keep in visible area.
<Style TargetType="{x:Type DataGridRowHeader}" x:Key="dataGridRowHeaderStyle">
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="HorizontalAlignment" Value="Center" />
<Setter Property="Height" Value="42" />
<Setter Property="SeparatorBrush" Value="{x:Null}" />
<Setter Property="FontSize" Value="16" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type DataGridRowHeader}">
<Grid>
<Border x:Name="rowHeaderBorder"
BorderThickness="0"
Padding="3,0,3,0"
Background="{Binding Background, RelativeSource={RelativeSource AncestorType={x:Type DataGrid}}}"
BorderBrush="{x:Null}">
<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<DataGrid>
<DataGrid.RowHeaderStyle>
<Style TargetType="DataGridRowHeader" BasedOn="{StaticResource dataGridRowHeaderStyle}">
<Setter Property="Content" Value="{Binding CellName}" />
<Setter Property="Width" Value="35"/>
</Style>
</DataGrid.RowHeaderStyle>
</<DataGrid>
JaneC -
How to print the row ,column,and particular cell in separate color
how to print the row ,column,and particular cell in separate color IN ALV GRID
HI,
Here you go good program links
<a href="http://www.sapfans.com/forums/viewtopic.php?t=52107">How to Set Color to a Cell in AVL</a>
<a href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_color.htm">ALV Grid Coloring</a>
Thanks
Mahesh -
How to import data from CSV file with columns separated by semicolon?
I migrate database from MS SQL 2008 to ORACLE 11g
I export data to CSV file from MS SQL
then I try to import it to Oracle
several tables goes fine using Import data option in the SQL Developer
Standard CSV files with data separated by comma were imported.
chars, date (with format string), and integer data are imported via import wizard without problems
the problems were when I try to import table with noninteger numbers with modal part separated by comma not by dot
comma is the standard separator for columns in CSV file
so I must change the standard separator to semicolon
then the import wizard have problem to correct recognize the columns data because it use only standard CSV comma separator :-/
In SQL Developer 1.5.3 Tools -> Preferences -> Migration -> Data Move Options
I change "End of Column Delimiter" to ; but it doens't work
Is this possible to change the standard column separator for import data wizzard in SQL Developer 1.5.3?
Or maybe someone know how to import data in SQL Developer 1.5.3 from CSV when CSV colunn separator is set to semicolon?A new preference has been added to customize the import delimiter in main code line. This should be available as part of future release.
-
BLOB column will caused large memory consumed ?
our appliation server is AS9.0.4 and
We using this Jdev 10g with BC4J and JSP
to build some application that contain blob column BC4J entity object, we found the blob column will caused the memory consumed issue , each time the contain blob column application page request by browser that will consume about 50M memory on OC4J component instance, and incremental by each request until the instance out of memory. It seems the garbage collection or memory leak problem ? or have another solution to avoid the memory problemI encountered a similar problem when I was retrieving BLOB files in the .NET architecture. I used chunking to solve the problem.
What happens is that the server reads the entire BLOB into memory before it sends anything to the client requesting it. So I set it up so that I would read a chunk (say 32KB) of the BLOB into a byte array, transmit it to the client, then read the next chunk from the BLOB and use it to overwrite the byte array, and so on. That way the maximum amount of memory that can be used is no greater than the size you specify for the chunk.
This will cause downloads to slow, but it's the only way I know of to avoid massive memory consumption. Sorry I don't have any code to go with this, but I've just started working with Java/Jdeveloper recently. Hope this helps. -
I am having a problem moving across cells in Microsoft Excel. When I use the arrow keys, the sheet moves, instead of moving to the next cell. Would anyone have any thoughts on this, please?
Hi,
Did you find a way to solve your problem ? We have exactly the same for one application and we are using the same version of HFM : 11.1.2.1.
This problem is only about webforms. We can correctly input data through Data Grids or Client 32.
Thank you in advance for your answer. -
hi, i have a big sp which does lets say tasks A, B, C, D...
After every task i.e A, B, C, D I have an update or insert
statement. The update & insert both work fine, except that I
have coldfusion catch code for sp execution and it returns String
or binary data would be truncated error. Normally this means
inserting something into a column whose lenght is less than whats
being inserted. I understand this , but how can i determine which
column is causing problem since after tasks A,B,C,D the insert or
update i have is working fine. It would be have easy if i couldnt
have seen inserted or updated records, but in this case the
functionality is working fine except that coldfusin gives an error
which i want to avoid.
Thanks in advance.quote:
Originally posted by:
MikerRoo
Yes, if the database column is smalldatetime then then
@start_date should be smalldatetime.
However, the SP's input variable (call it say,
"RawStartDate") can still be varchar for the reasons you stated.
Just be sure to return the appropriate error and/or insert a valid
smalldatetime always.
Sorry for confusion... GetDate was just an example , it could
another variable @end_date which is varchar(20).
so we could have SET @start_date =
CAST(convert(varchar(20),@enddate,101) as datetime)
Now coming back to main problem.. I am not calling the SP
from coldfusion. I am directly running it thru Query Analyser and
here is what iam getting for a date value passed as '2006-05-24
00:00:00.000'
Server: Msg 295, Level 16, State 3, Procedure WS_AUTO_INTAKE,
Line 263
Syntax error converting character string to smalldatetime
data type.
here is the query starting at line 263
INSERT INTO intake_seq (intake_id, intake_seq, absence_type,
start_date, start_time, end_date, end_time)
VALUES (@intake_id, 1, @absence_type, cast(@start_date as
smalldatetime), DATEADD ( hh , 8, cast(@start_date as
smalldatetime)), cast(@end_date as smalldatetime), DATEADD ( hh ,
16, cast(@start_date as smalldatetime)) )
You would say, ok try just datetime instead of
smalldatetime...tried that also .. it gives this error
Server: Msg 241, Level 16, State 1, Procedure WS_AUTO_INTAKE,
Line 263
Syntax error converting datetime from character string.
Its all got to do with this value '2006-05-24 00:00:00.000'
which is passed as one of the parameters to sp call... I tried with
this and gives error... when i removed the last 3 zeroes with . ,
it works fine ...example '2006-05-24 00:00:00'
What is wrong here? Iam I missing something????
by the way , this SP is working fine for 99% of time... its
just that on very few occassions iam seeing the error... thats the
reason i persisted with SP INPUT VARIABLES declared as VARCHAR
rather than int or datetime, ....
any ideas????
I know I can have convert(varchar(20), @start_date,101) to
get the format dd/mm/yy but then I have to cast it to datetime
which will again make it in format dd/mm/yy hh:mi:ss... any other
way to just keep it dd:mm:yy ??? -
Regarding the column separation line, I know how to change column numbers on regular pages, but it does not allow me this option on the opening chapter pages. The vertical line separating the page in half stays there. How can I go to single column, thus eliminating the vertical line in middle?
yes. Number of columns. Easy to fix on regular page, but not on first page of chapter. I'm pretty sure the problem is about number of columns. Create a new text box? I don't think that would make the line go away.
-
ORA-14402: updating partition key column would cause a partition change
Hi,
When I am trying to execute an update statement where i am tring to update date values emp_det from 11-oct-2010 to 12-nov-2010.
Oracle throws an error :
ORA-14402
updating partition key column would cause a partition change
I think that this is because emp_det is a partitioning key of a partitioned table.
Oracle documentation says that
"UPDATE will fail if you change a value in the column that would move the
row to a different partition or subpartition, unless you enable row
movement" .
alter table t enable row movement;
I did not understand what is meant by "enable row movement".
I cannot drop the partitions and recreate it after updating the table and also i don't have proper priviliges for enale row movement syntax
because of the lack of privileges. How to solve this is issues with out row movement and recreate partition.
Can this be done by a developer or is there any other way to execute update in this case? its urgent.. pls help..
thanks in advance..
By
Sivaraman
Edited by: kn_sivaraman on Nov 1, 2010 2:32 AMkn_sivaraman wrote:
I did not understand what is meant by "enable row movement". Each partition in partitioned table is physically separate segment. Assume you have a row that belongs to partition A stored in segment A and you change row's partitioning column to value that belongs to partition B - you have an issue since updated row can't be now stored in segment A anymore. By default such update is not allowed and you get an error. You can enable row movement and Oracle will move row to target partition:
SQL> CREATE TABLE SALES_LIST(
2 SALESMAN_ID NUMBER(5,0),
3 SALESMAN_NAME VARCHAR2(30),
4 SALES_STATE VARCHAR2(20),
5 SALES_AMOUNT NUMBER(10,0),
6 SALES_DATE DATE
7 )
8 PARTITION BY LIST(SALES_STATE)
9 (
10 PARTITION SALES_WEST VALUES('California', 'Hawaii'),
11 PARTITION SALES_EAST VALUES('New York', 'Virginia', 'Florida'),
12 PARTITION SALES_CENTRAL VALUES('Texas', 'Illinois'),
13 PARTITION SALES_OTHER VALUES(DEFAULT)
14 )
15 /
Table created.
SQL> insert
2 into sales_list
3 values(
4 1,
5 'Sam',
6 'Texas',
7 1000,
8 sysdate
9 )
10 /
1 row created.
SQL> update sales_list
2 set sales_state = 'New York'
3 where sales_state = 'Texas'
4 /
update sales_list
ERROR at line 1:
ORA-14402: updating partition key column would cause a partition change
SQL> alter table sales_list enable row movement
2 /
Table altered.
SQL> update sales_list
2 set sales_state = 'New York'
3 where sales_state = 'Texas'
4 /
1 row updated.
SQL> SY. -
Updating partition key column would cause a partition change
while i am executing this query in sql i am getting an error message saying
that
updating partition key column would cause a partition change
SQL> update questionbnkmaster set sectionid=23 where qno=19;
update questionbnkmaster set sectionid=23 where qno=19
ERROR at line 1:
ORA-14402: updating partition key column would cause a partition change
what can do to update the table without changing to the other fields
tyhanx in advance
cinuxtry this
ALTER TABLE questionbnkmaster ENABLE ROW MOVEMENT
/Cheers, APC -
How to bind each DataGrid column separately?
Good day fellow Flex developers!
Could you please help me out. I am trying to figure out how to bind each DataGrid column separately. I need to bind each column to a separate bindable array variable. Is there a dataProvider property for each DataGridColumn???
Thanks in advance,
Eugenehopefully nope
just imagine code complexity for that feature?
how would you think should behave DataGrid when you'll populate your separate arrays with variable items number each?
all you are able and should do is to build composite dataProvider source, join all your separate arrays into it, this is your responsibility.
If you feel this message answers your question or helps, please mark it respectively -
Ability to set column separator character when Exporting Results
It would be really cool to be able to set the column separator character when using TXT export of the Results panel. Right now it defaults to a comma. If I could set it to be the TAB character, I would be able to export to the clipboard and then paste the clipboard contents directly into Excel. Right now when I paste, all the columns in Excel have a comma at the end of them, except the last column. I am trying to get around having to create a CSV file. I end up with so many temporary CSV file "laying around".
MikeI already have this entered as an enhancement for a post-production release. It came up on a thread where users did not like our current mechanism of using a tab and comma on the data (and just a tab on the column headings which is really a bug). I have requested that we consider allowing the user to provide the delimiter for text export in the future.
-- Sharon -
Need to create a CSV file (semi column separated)
Hi,
Please tell me how to download a file to CSV (semi column separated) from SAP to local path and application server.
Thanks.Hi,
Please refer the code below:
REPORT y_ss_test_ekko .
* To hold selection data
DATA: i_ekko TYPE STANDARD TABLE OF ekko.
* To hold converted text data
DATA: i_text(4096) TYPE c OCCURS 0.
* Selection Screen
PARAMETERS: p_ebeln LIKE ekko-ebeln.
* Select data into an ITAB based on the selection Criteria
SELECT * FROM ekko
INTO TABLE i_ekko
WHERE ebeln = p_ebeln.
* Process further only if found some data
IF NOT i_ekko[] IS INITIAL.
* Convert data in internal table to a delimited text data
CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
EXPORTING
i_field_seperator = '|'
TABLES
i_tab_sap_data = i_ekko
CHANGING
i_tab_converted_data = i_text
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
WRITE: / 'Program failed to Convert data.'.
ELSE.
* Download convert data to Presentation Server
CALL FUNCTION 'DOWNLOAD'
TABLES
data_tab = i_text
EXCEPTIONS
OTHERS = 8.
IF sy-subrc <> 0.
WRITE: / 'Program failed to download data.'.
ENDIF.
ENDIF.
ENDIF.
Thanks,
Sriram Ponna. -
View Columns Mailbox causes failure
I just noticed, after a day of crashes, that un-checking View>Columns>Mailbox causes Mail to behave badly. I had not wanted the extra column of Inbox-Mailbox to clutter up my upper window, so I turned it off. For the next day or more I couldn't get Mail to open properly or register emails correctly. I had made other adjustments as well as I was tweaking 10.5.2, so I didn't notice right away that that was the problem situation. Others might be aware that removing the Inbox-Mailbox from the upper window can be a source of a lot of issues.
I have notified Apple of the bug.As the router reset,when you try to transfer the larger file,I would suggest you to upgrade/reflash the router's firmware and reconfigure the router from scratch...You can download the firmware from www.linksys.com/downloads.Before upgrading the router,unplug the HDD from the router.
On your laptop,remove all the preferred network,add the wireless profile and map the drive again on the computer.
Maybe you are looking for
-
Can't upload TV Shows to new 30g iPod Video
We just purchased the new iPod Video (30g) and in Windows XP, iTunes 7 all of the songs and music videos uploaded. However, none of the TV Shows uploaded. Any ideas?
-
Hello, good people (I am sorry for my english) introduction: MS Server 2003, Exchange 2003, Eset Endpoint Protection. We ned some free space on hdd. taken steps: 1. Dismounted public and private stores 2. priv1.edb priv1.stm pub1.edb pub1.stm files m
-
Sync iTunes Playlist with other Mac
Hey everybody!! I have an iMac with a 20.000+ Song Music Library which I do most of my work on. I also have a 128GB macbook air which I use for DJing. Is there any way that I could wirelessly sync the playlists I make on my iMac with my Macbook Air?
-
Can a EP7 issue x.509 digital certificates
Hello, an article on the market place states the following: Obtaining a X.509 certificate: Using SAP Trust Center Service For sap user only Free of Charge Portal server acts as Registration Authority (RA) Can someone please explain to me the me
-
Hello, I am just wondering if JSF offers a synchronizer token feature in order to avoid multiple form submissions. Thanks in advance, Albert Steed.