How to make DataWindow column resizable like Excel column

Does anyone know how to make DataWindow column behave like
Microsoft Excel column. When user expanses or reduces a
column, other columns should slid accordingly.
9/10/2003 2:33:26 PM
sybase.powerbuilder.general 62418 articles. 19 followers. Follow

1 Replies

Similar Articles

[PageSpeed] 0

What you're describing is native to the grid style. Is that not what
you're using, and if not, should you be? <g>

Good luck,

Terry [TeamSybase] and Sequel the techno-kitten

On 10 Sep 2003 07:33:26 -0700, James S wrote:

>Does anyone know how to make DataWindow column behave like
>Microsoft Excel column. When user expanses or reduces a
>column, other columns should slid accordingly.

Sequel's Sandbox:
Home of PBL Peeper, a free PowerBuilder Developer's Toolkit. 
Version 2.2.05 now available at the Sandbox
See the PB Troubleshooting Guide at the Sandbox
^ ^
o o
9/10/2003 2:46:18 PM

Similar Artilces:

When is a column not a column?
I have several extremely similar datawindows that I have to maintain that go against the same table. Recently, I had to add a column to that table, and also add the column to ALL of these datawindows that go against this table. I added the column to the first datawindow, set up the edit control style, etc. I then did a copy/paste of the columns edit control to the remaining dw's (of course remembering to first add the column in SQL). Everything (update props, column specs, column props) seems to indicate that the pasted column is linked to the column I selected, HOWEVER, when I...

datawindow.column.count not returning the column count of a datawindow
I am having problems with the datawindow.column.count property of a datawindow. It just started happening with PB 6.501 and still works fine in PB 5.0. The function that looks at this property is in an ancestor userobject. The dataobject is assigned at this point but all other properties of the datawindow are missing. Any suggestions? Don't recall, but was it still dwDescribe() in version 5.0? If it was that may be your problem. HTH Kent Montgomery wrote: > I am having problems with the datawindow.column.count property of a > datawindow. It just started happenin...

Fix a Column
Hi is it possible to create a datawindow, where a column is fixed if the user scroll's the excel-columnFixing?? or have anyone a clue for this problem? many thank's for response Michael It might not be exactly like excel but may be the HSplitScroll datawindow property in the general "tab" will be useful. "M.Erlinger" <> wrote in message news:42ae8716$1@forums-2-dub... > Hi > > is it possible to create a datawindow, where a column is fixed if the user > scroll's horizontal...

SP and dinamic : column like %blah% or column like %bluh%
SGkgZXZlcnlib2R5LA0KDQpJJ3ZlIGdvdCB0aGlzIHByb2MgY2FsbGVkIGZyb20gYSBEQmxp YiBwcm9ncmFtICwgd2hpY2ggSSBoYXZlIHRvIHBhc3MNCmR5bmFtaWMgYXJndW1lbnRzLA0K IElicmFoaW0gRE9HQU4gdGF1Z2h0IG1lIGhvdyB0byBvdmVycmlkZSB0aGUgSU4gY2xhdXNl IHdpdGggY2hhcmluZGV4KCksDQoNCmJ1dCBub3cgSSBoYXZlIHRvIHBhc3MgdG8gYSBMSUtF IDoNCg0KQFRZUEU9IiVUMSUgb3IgdHlwZV9pZCBsaWtlICVUMyUiICwgb3Igd2hhdGV2ZXIg bnVtYmVyIG9mICdvciBjb2x1bW4NCmxpa2UgVCV3aGF0ZXZlcicsDQpJIGNhbiBub3QgZmln dXJlIG91dCB0aGlzIG9uZSBlaXRoZXIhDQpIZXJlJ3MgdGhlIHByb2MgOg0KDQpjcmVhdGUg cHJvYyBzcF9hbm5vbmNlcw0KKA0KICAgICAgICBAREVQICAgICAgICAgICAgSU5UPTAsDQog ICAgICAg...

IF you set column to width 0 in a datawindow grid, the column appear as a with column at the end of the grid
Can you remove the white space at the end of a grid, it seems to appear when we set columnwidths to '0'.. ICE I've not seen that. What version of PB are you using? What platform? On Tue, 27 Aug 2002 11:42:02 +0200, in powersoft.public.powerbuilder.datawindow ICE <> wrote: >Can you remove the white space at the end of a grid, it seems to appear when >we set columnwidths to '0'.. > > >ICE > > Bruce Armstrong [TeamSybase] Not 1 - but 2 new books on developing with PowerBuilder...

Export DataGrid to Excel
Hi,  I am working on a function of exporting DataGrid to excel with following coding: protected override void Render(HtmlTextWriter writer) {Response.ContentType = "application/ms-excel"; Response.AddHeader("Content-Disposition", "inline;filename=test.xls"); DataTable dt = new DataTable(); ... DataGrid2.DataSource = dt; DataGrid2.DataBind(); DataGrid2.RenderControl(writer); } I would like to set the column width at certain Excel column. However, the width cannot be controlled by setting the column width of DataGrid. Any methods to this?   ...

how to make datagrid column as a hyperlink column
we assign dataset to the datagrid and datagrid is filled with that data.  but I make one column as hyperlink and I want when I click on any item of that column then the new browser window open in the center of main window pls tell me how make a datagrid column as hyperlink and how to pass that column value to next window which open through javascriptBasim Hi:   You can use TemplateColumn.   Please try this: <TemplateColumn>  <ItemTemplate>   <a href="javascript:alert('hello')"><%#DataBinder.Eval(Container.DataItem,...

Resizeable columns in DataWindows
Hi, has anybody an idea to the following: - what do I have to do to make columns in a DataWindow, which is directly connected to a table of a ORACLE database, resizeable, e.g. pull them with the mouse like I can do on the Explorer Window? I would appreciate any idea, to think about Thanks in advance Regards Norbert Create a datawindow of type Grid. Simon -- All views expressed in this message are my own and not necessarily those of my employer "Norbert Braeuchler" <> wrote in message news:4HUR$lht...

Resizing datawindow columns
I am using a grid datawindow object inside a datawindow control within a window. I'd like to do some actions after I resize a column (for example, I have another dw control with another grid dw inside, having the same columns with the first one, and this needs to be align with the original one every time). The clicked could be a way to do it, but this slows a lot the whole thing. Does anyone have a better idea? Thanks, Alina. In pbm_lbuttondown, store PointerX() in an instance variable In pbm_dwnlbuttonup, compare the x position with the instance variable (to see if somethi...

Resizing Datawindow Columns
I'm using PFC with PB 11 I have a datawindow control with its resize service working. Now I want resize the controls within the datawindow ie columns I thought the resize service would do. But database columns does not adjust to full screen Lee Thanks Alex B. Have you called of_register() to register the columns (and other DataWindow objects) with the service to "tell" it how to resize each and/or how much to resize them? -- John Strano - Sybase Technology Evangelist <Lee Sayed> wrote in message

Resizing columns on a datawindow
Is there a way to resize the columns on a datawindow as the datawindow control resizes? This sounds simple, but I have yet to find a way to do this. Am I missing something? -- Greg Holliday DODGE/Rockwell Automation Look in help under setformat syntax dwcontrol.SetFormat ( column, format ) this is the example string format1 format1 = "$font=* charset='iso8859-1' code=35 TeX='\num ' descr='[num]',font=* charset='iso8859-1' code=35 TeX='\num ' descr='[num]'font=* charset='iso88...

How can I get the column name of a datawindow column?
I want to get the column name in tablename.columnname format. I have tried to get it using dbname property. However, I found that it work only if the tables in the datawindow are inner join. If the tables in the datawindow are outer join, the dbname only return the columnname and the tablename is missed. Do you have any idea? Charles You could add the name to the select clause or to the tag property. Or you caould check to see if it is a join or not (by seeing if there is a '.' in the column name) if not then get the sql select statment and parse to find the table...

Unicoded CSV supports chinese characters but excell shows all columns in a single column (may be an excell unicode csv issue)
so i have the unicoded CSV that supports chinese but excel doesn't like it, it put all the columns into a single columns.  Any though? Response.Clear();Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.ContentEncoding = Encoding.Unicode;Response.Charset = "Unicode"; Response.AddHeader("Content-Type", "text/csv");Response.AddHeader("Content-Disposition", "inline;filename=consultantList.csv");Response.BinaryWrite(Encoding.Unicode.GetPreamble()); Response.Write(csv.ToString()); Response.End();...

Exporting in Excel without cells or excel columns merging for one column of data table(need sorting, data filters perfectly)
 Hi,   I have an issue with the excel exporting of the report using ssrs.  I am using only the body section for exporting to excel.  Here in the body i have an Image, Textbox(for Title), textbox2(for dates from,to) and below it i have a table having the columns used for showing the data.  The report gets generated but when i exported to excel, All the columns and rows in the excels sheets come close and its like there is no uniformity.  Few columsn of excel are covered under a single columsn of the data table.  So its making users feel uncomfortab...

Web resources about - How to make DataWindow column resizable like Excel column - sybase.powerbuilder.general

PowerBuilder - Wikipedia, the free encyclopedia
PowerBuilder is an integrated development environment owned by Sybase , a division of SAP . It has been in use since 1991, peaking around 1998 ...

Intelligent Versus Surrogate Keys
Should I use business columns as primary key fields for tables in thedatabase, or generate artificial primary key values? When business-related ...

chevy volt
ProEXR File Description =Attributes= channels (chlist) compression (compression): Zip dataWindow (box2i): [0, 0, 5119, 2475] displayWindow (box2i): ...

Enable - A comprehensive solution for the localization of PowerBuilder applications Untitled Document ...
Enable is localization/ translation tool used by PowerBuilder developers to make their applications multilingual.Enable is a powerful tool that ...

comp.lang.clipper.visual-objects - Google Groups
comp.lang.clipper.visual-objects 1-20 von 33006 Themen werden angezeigt Integrity of a file 09:35 Combobox value Lu 08:12 ...

Sybase PowerBuilder tool readied for Microsoft's .Net
Developers can choose Win32 or newer style .Net development

PowerToTheBuilder - PowerBuilder UI Controls

Beautiful iPad Mini 3 Concept Reimagines Appleā€™s Tablet With iPhone 6 Design, Gold Color [Images]
The iPhone 6 may be grabbing all of the recent headlines due to its impending announcement, but spare a thought for those who prefer to stay ...

Java Networking - Real's HowTo
Real's HowTo Custom Search Java Language String and Number Applet AWT Swing Environment IO Javascript interaction JDBC Thread Networking JSP ...

Business Intelligence Products - Database Management, Data Warehousing & Mobility Software - Sybase Inc ...
Sybase offers a variety of Business Intelligence (BI) software like products for database management, data warehousing and mining, data integration ...

Resources last updated: 11/27/2015 3:49:33 AM