How do I reverse auto sizing grid columns?
I accidentally auto sized the Name column on my library grid and don't see an option to restore it to it's original size. How do I reverse auto size of a column on my grid?
Put your mouse pointer over the faint line dividing the columns and it will change to a cross with 2 arrowheads.
Drag the column boundaries left or right as you desire.
Similar Messages
-
How do I undo auto sizing of columns in my music library?
How do I undo the auto sizing of columns in my music library?
Put your mouse pointer over the faint line dividing the columns and it will change to a cross with 2 arrowheads.
Drag the column boundaries left or right as you desire. -
How to change Data type of Grid column at runtime..??
Hi ,
I have taken a "Grid" control,and i have pass a query "Select itemcode Qunatity,linetotal From PDN1" in the ExecuteQuery
method of Grid it displaying the data,
but the problem is i want to change the Datatype of this column from "FLOAT" to "db_Quantity" according to the SAP standerd
of decimal places(like 2 or 3 decimal place which the customer maintain) after executing Query.
How can we achieve this please guide me what to do...
Thanks
SandeshHi sandesh
try with
Select itemcode Qunatity,convert(decimal(19,2), linetotal) [linetotal] From PDN1
regards:
Sandy -
How can I enable auto-sizing for forms? Only 1 line shows at a time.
The form I use to enter calendar information (in Microsoft SharePoint) used to show the whole form. Now when I try to create a new calendar entry I get one line visible. There is a vertical scroll bar to the right which allows me to see the whole form - one line at a time. This was not the case last May (which may have been the last time I was making new calendar entries). I've tried disabling all plug-ins, but that doesn't affect anything with the calendar entry.
There are a few issues here, ie
"uid=jwalker, ou=People, ou=test1,o=test.com.cn" has no parent.
Did you create ou=People, ou=test1,o=test.com.cn before you tried to create above dn?
Also, your suffix naming is very poor and will result in more problems later on especially since you want to create sub suffices.
you should use the DC notation, ie dc=test,dc=com,dc=cn that way you can easily attach o=test1,dc=test,dc=com,dc=cn
This way you would be able to keep your separate suffices inside separate database files and you will have less headaches when you try to replicate and do bulk re-initialisations. -
X,Y position of Grid Column
Hi All,
How to get xy position of grid column On mouse over.
regards,
karthik@chennaiyou can use localToGlobal or globalToLocal as a quick hack,
it would be better to path out to the container you wish to
reference, then you won't have any issue if you want to put this
movie inside another later on. -
How to save xml and xsl function to a data grid column
hi. wondering, i have a xml and a xsl file, and have the transform class, and so need to save the xml and the xsl file, and display the results on a particular data grid column and to loop through the data grid columns. so, how do i use the xml save function
class, any examples or point me to articles, where i can read how to do this. need to display a file, with a different colour and font. any ideas. thanks. marvin.hi. need to save a xml and xsl file and display the results on data grid. how do i do this. any
sample code or articles i can read about thanks. marvin.
http://startrekcafe.stevesdomain.net http://groups.yahoo.com/groups/JawsOz
Hi.
Okay, well, did ask on the msdn forums, and some one replied, and so, will paste the code he suggested.
But getting a lot of errors.
Can you help me out.
Where am I going wrong.
So, I can then get this to work, then it shows the colours and the fonts on the specified data grid.
Can you help.
Want to get this working and passed today if possible.
Will pasate the code and the errors below.
Can you help.
Where am I going wrong.
Marvin.
// Set up the data set.
DataSet ds =
new
DataSet();
// Set up the data table.
DataTable dt =
new
DataTable();
// Ad the data table to the data set.
ds.Tables.Add(dt);
// Write the xml document to the data grid column.
ds.WriteXML(@"c:\Docs\Education\CertificateFourProgramming\CoreInfrastructure\DevelopingXMLApplications\Assignments\CurrentCount.xml");
ds.WriteXML(@"c:\Docs\Education\CertificateFourProgramming\CoreInfrastructure\DevelopingXMLApplications\Assignments\OnOrder.xml");
ds.ReadXML(@"c:\Docs\Education\CertificateFourProgramming\CoreInfrastructure\DevelopingXMLApplications\Assignments\CurrentCount.xml");
ds.ReadXML(@"c:\Docs\Education\CertificateFourProgramming\CoreInfrastructure\DevelopingXMLApplications\Assignments\OnOrder.xml");
// Set up the data table and the data set and set to 0.
dgvDisplayData.DataSource = ds.Tables[0];
Error 1 Invalid token '(' in class, struct, or interface member declaration
C:\Docs\Education\CertificateFourProgramming\CoreInfrastructure\DevelopingXMLApplications\Assignments\WoodStocks\WoodStocks\frmData.cs 215
18 WoodStocks
Error 2 Invalid token ')' in class, struct, or interface member declaration
C:\Docs\Education\CertificateFourProgramming\CoreInfrastructure\DevelopingXMLApplications\Assignments\WoodStocks\WoodStocks\frmData.cs 215
21 WoodStocks
Error 3 Invalid token '(' in class, struct, or interface member declaration
C:\Docs\Education\CertificateFourProgramming\CoreInfrastructure\DevelopingXMLApplications\Assignments\WoodStocks\WoodStocks\frmData.cs 219
16 WoodStocks
Error 4 Invalid token '(' in class, struct, or interface member declaration
C:\Docs\Education\CertificateFourProgramming\CoreInfrastructure\DevelopingXMLApplications\Assignments\WoodStocks\WoodStocks\frmData.cs 221
16 WoodStocks
Error 5 Invalid token '(' in class, struct, or interface member declaration
C:\Docs\Education\CertificateFourProgramming\CoreInfrastructure\DevelopingXMLApplications\Assignments\WoodStocks\WoodStocks\frmData.cs 222
15 WoodStocks
Error 6 Invalid token '(' in class, struct, or interface member declaration
C:\Docs\Education\CertificateFourProgramming\CoreInfrastructure\DevelopingXMLApplications\Assignments\WoodStocks\WoodStocks\frmData.cs 223
15 WoodStocks
Error 7 Invalid token '=' in class, struct, or interface member declaration
C:\Docs\Education\CertificateFourProgramming\CoreInfrastructure\DevelopingXMLApplications\Assignments\WoodStocks\WoodStocks\frmData.cs 227
31 WoodStocks
Error 8 Array size cannot be specified in a variable declaration (try initializing with a 'new' expression)
C:\Docs\Education\CertificateFourProgramming\CoreInfrastructure\DevelopingXMLApplications\Assignments\WoodStocks\WoodStocks\frmData.cs 227
43 WoodStocks
Error 9 Invalid token ';' in class, struct, or interface member declaration
C:\Docs\Education\CertificateFourProgramming\CoreInfrastructure\DevelopingXMLApplications\Assignments\WoodStocks\WoodStocks\frmData.cs 227
45 WoodStocks
Can you help me out.
Thanks.
http://startrekcafe.stevesdomain.net http://groups.yahoo.com/groups/JawsOz -
How to set Link object type to grid column??
Hello friends ,
I m using C# language. I want to set LinkedObjectType to the grid columns.So how can I set the Linked Obj type to the grid column?
Reguards ,
MithunHi,
it should look like this.
oGrid.Columns.Item(ColUID).Type = BoGridColumnType.gct_EditText;
EditTextColumn col = (EditTextColumn)oGrid.Columns.Item(ColUID);
col.LinkedObjectType = "2"; // Link to BusinessPartner
lgDavid -
How get grid column value into textfield
hi master
sir i have one grid thad bound table and one texttield
i want when my user click in grid column then that row value move to textfiled
i use this code
RowKey rowkey = tableRowGroup1.getRowKey();
tt.setValue(chartofaccDataProvider.getValue("chartofacc.accid",rowkey ));
but this code give me error
please give me ideasir when i click the any record it is give me this error
Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
Exception Details: java.lang.IllegalArgumentException
chartofacc.accid
Possible Source of Error:
Class Name: com.sun.data.provider.impl.CachedRowSetDataProvider
File Name: CachedRowSetDataProvider.java
Method Name: getFieldKeyInternal
Line Number: 481
Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
Stack Trace:
com.sun.data.provider.impl.CachedRowSetDataProvider.getFieldKeyInternal(CachedRowSetDataProvider.java:481)
com.sun.data.provider.impl.CachedRowSetDataProvider.getFieldKey(CachedRowSetDataProvider.java:439)
com.sun.data.provider.impl.AbstractTableDataProvider.getValue(AbstractTableDataProvider.java:126)
iqra.Page1.hyperlink1_action(Page1.java:462)
sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:57)
javax.faces.component.UICommand.broadcast(UICommand.java:312)
com.sun.rave.web.ui.component.TableRowGroup.broadcast(TableRowGroup.java:1611)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(AccessController.java:-2)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
java.security.AccessController.doPrivileged(AccessController.java:-2)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
java.security.AccessController.doPrivileged(AccessController.java:-2)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
Exception Details: javax.faces.el.EvaluationException
java.lang.IllegalArgumentException: chartofacc.accid
Possible Source of Error:
Class Name: com.sun.faces.el.MethodBindingImpl
File Name: MethodBindingImpl.java
Method Name: invoke
Line Number: 130
please give me idea how i get value of column
thank
aamir -
How to auto update date column without using trigger
Hi,
How to write below MYSQL query in Oracle 10g :
CREATE TABLE example_timestamp (
Id number(10) NOT NULL PRIMARY KEY,
Data VARCHAR(100),
Date_time TIMESTAMP DEFAULT current_timestamp on update current_timestamp
I need to auto update the Date_Time column without using trigger when ever i update a record.
Example shown below is from MYSQL. I want to perform the below steps in ORACLE to auto update Date_Time column.
mysql> INSERT INTO example_timestamp (data)
VALUES ('The time of creation is:');
mysql> SELECT * FROM example_timestamp;
| id | data | Date_Time |
| 1 | The time of creation is: | 2012-06-28 12:37:22 |
mysql> UPDATE example_timestamp
SET data='The current timestamp is: '
WHERE id=1;
mysql> SELECT * FROM example_timestamp;
| id | data | Date_Time |
| 1 | The current timestamp is: | 2012-06-28 12:38:55 |
Regards,
Yogesh.Is there no functionality in oracle to auto update date column without using trigger??
I dont want to update the date column in UPDATE statement.
The date column should automatically get updated when ever i execute an Update statement. -
WPF: how to make the grid column edtiable base on cell content?
our WPF application uses DataGrid.
One grid column we need base on cell has value or not to decide if make the cell editable.
If cell is empty, not editable. If cell is not empty, make it editable.
The cell is bind to a class. We try to make property to bind to the
DataGridTextColumn
IsReadOnly property
public bool IsSampleIdFieldReadOnly { get { return string.IsNullOrEmpty(_sampleId); } }
DataGridTextColumn MinWidth="120"
Binding="{Binding SampleId}"
IsReadOnly="{Binding IsSampleIdFieldReadOnly}"
Header="Sample ID" />
However all cells in the column are editable.
how to achieve that? Thx!
JaneCI guess that will apply to the whole column rather than specific cells and you need a cellstyle.
You could try something like:
<DataGridTextColumn Binding="{Binding SampleId}" Header="Sample Id">
<DataGridTextColumn.CellStyle>
<Style TargetType="DataGridCell">
<Style.Triggers>
<DataTrigger Binding="{Binding IsSampleIdFieldReadOnly}" Value="true">
<Setter Property="IsReadOnly" Value="true" />
</DataTrigger>
</Style.Triggers>
I'm afraid I don't have enough time to test it as I'm off out drinking shortly.
Hope that helps.
Recent Technet articles:
Property List Editing ;
Dynamic XAML -
How can i Auto Size the Column width in RDLC Report
Hi Friend's,
I have created Windows application with RDLC Report. I am binding(Generating) dynamic columns and data's in RDLC Report Using Matrix control, I need to make Auto size of Column width for each Column in
Matrix of RDLC report. So Can any one suggest me to make the Auto Size of Column Width in RDLC.
Thanks in Advance,
Mohan GHi Mohan,
In Reporting Services, the column width/height is hard-coded, hence, we cannot set the column width/height dynamically or based on an expression. So is the report size.
In addition, since it is a RDLC report, we need a ReportViewer control to display this report within a custom application. If you need to change the size of the whole report, we can set the AsyncRendering property of the ReportViewer control to false, and
set the SizeToReportContent property to true.
Regards,
Mike Yin
TechNet Community Support -
How to make a grid column a linked column?
Is there any way to make a grid column a linked column?
I have a cardcode column in a grid, which I want to link with BP master link object. If I try to do it the same way I do for matrix, it gives me 'specific cast not valid' error; whereas the same property works fine with matrix.
help will be appreciated...
BinitaYou need to do the following:
string colUid = "yourUid";
oGrid.Columns.Item(colUid).Type = BoGridColumnType.gct_EditText;
EditTextColumn col = (EditTextColumn)oGrid.Columns.Item(colUid)
col.LinkedObjectType = "2"; //2 = Buisness Partner (The id behind the BoLinkeObjectType as a string) -
How do I reverse the order of file lists in finder?
When I display a finder page with icons the sort is ascending (A-Z), but when I use the list function it is decending (Z-A). How do I reverse the list order?
Welcome to Apple Support Communities. We're users here and don't speak for "Apple, Inc."
In Finder icon view, click the Arrange button and select which column you'd like to sort by.
In Finder list view, click the top header of any column to sort by that column. Clicking the same header again reverses the sort order (and the small 'arrow' at the end of the column name reverses direction too).
And using Finder, View, Customize Toolbar the Finder window toolbar can be customized to display icons only, text only or both, as well as adding additional icons to the default toolbar:
Message was edited by: kostby -
How do I change the order of columns in the responses table?
How do i change the order of columns in the responses table in FormsCentral? The default setting puts them in reverse order!
Hi,
The issue with the default ordering of columns in the response table is something that we hope to address in the next update to FormsCentral. In the meantime, you can reorder the columns by selecting them then click/drag using the gray area above the column name. As shown below, an orange marker will show you where the columns will be placed when you release the mouse button.
Sorry for the inconvenience.
Regards,
Brian -
Help with creating a component: auto-sizing
I'm trying to create a lightweight component (extends UIComponent) that supports auto-sizing (aka default sizing.) Many of the Flex component's do this, for instance mx:Button will, if you do not set a size, size itself to be "large enough to hold the label text, and any icon." How can I do this with my component?
I tried overriding measure() and setting the measured sizes (measuredWidth, measuredHeight, measuredMinWidth, measuredMinHeight) but updateDisplayList always gets called with values of 0, 0 for unscaledWidth and unscaledHeight, and the .width and .height properties always stay at 0, 0.
I've looked over the mx:Button code quite a bit and cannot figure out how it manages to perform default/auto-sizing. Can anyone help?
Cheers.
-AaronYou could set breakpoints to see if explicitWidth/Height is getting set in some surprising way. Could maxWidth/maxHeight be set to 0? That could also mess it up.
One more thing is that the component is given its size by its parent. If the parent is 0x0 that could also cause trouble. Or some other part of the layout logic is trumping the measuredWidth/Height. In theory there should be a call to setActualSize or setLayoutBoundsSize. A breakpoint there should help you figure out the logic that determined the size.
Maybe you are looking for
-
Hey just a quick question, placed an order to switch my telephone line and broadband to BT from a full Sky LLU package. Today my line switched over successfully, can anyone tell me when the order for Infinity 2 will be placed? and how long it takes o
-
Dear All, One our client wants after release of the PO (we have only 1 level), system should not allow to chage the PO.will it possible? Regards venu gopal
-
Documentation button in initial screen is disabled.why?
Hi guys: I have the profile SAP_ALL and SAP_NEW,but when I login SAP system,Documentation button in initial screen is disabled.why,who can I use it ?
-
I bought new iphone 5s locked after i unlocked my iphone5s . when I switch on my phone it says enter your apple id but i forgot my icloud username. I cant access anything in my iphone. please help me? what shall i do .
-
Help: symbol shifting between mac and windows, flash cs3
I'm doing work reviewing flash files created by other users on mac and windows. I'm using os x 10.5.6. When I open a file created in windows / flash cs3 some symbols on the stage will have shifted upwards on the y axis. If I correct the shift and the