Can you get rid of the Black Background when you click on a column header in a Grid datawindow
Is there anyway of getting rid of the black background when you click on a
column header in a grid datawindow. I am using the PFC sort service and I
find the black background a nuisance. I still need to be able to move and
resize colums so turing the grid off is not an option.
I have mouse selection turned off but this only prevents the individual
columns from turning black and it doesn't make any difference if you click
on the column header.
I am using PB 6.5.1
Right-click the datawindow background, and bring up the properties dialog.
Uncheck the &qu...Getting the column number when clicking on a column header
How can I get the column number when I click on a column header in a
I need the column number because I want to sort the column
Ascending/Descending when clicking on the header. (I cannot presume that
the column header has the name xxx_t!)
ADB systermer ASA
Tone Hansen wrote in message <01bcda30$3f804eb0$a75d13c2@ws_pro_th>...
>How can I get the column number when I click on a column header in a
>I need the column number because I want to sort the column
>Ascending/...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
Do you have any idea?
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...Can't get header text in a GridView column to align to bottom of header cell
I have a GridView in which some of the columns' header text takes three lines and some two lines (due to their hard-coded width). The ones with two lines, however, are aligned to the top by default. I've tried using HeaderStyle-VerticalAlign="Bottom", both in the <GridView> tag and the column's header iteself, but nothing worked. Why won't it and how do I get it to align to the bottom?
Here's the GridView's code: <asp:GridView ID="gvContrCo" runat="server" CellPadding="5" AllowSorting="Tr...How to get the column header value in the datawindow
I had problem regarding the column header number in datawindow . I mean that
i want to get the column header value whenever i click on the
column header, i was able to get the column header name with ("dwo.name").
Is there any chance of getting the column header value with
dwo or other event plz help me
Assuming the header is a static text object, dwo.Text
"venu" <email@example.com> wrote in message
> Hi All
> I had problem regarding the column header number in datawindow . ...Crosstab datawindow column header names ???
I am trying to read column header values of a crosstab datawindow :
- I tried GetItemString ( ), but what are the names of the text header fields : I only got the column name
defined at design time.
- A Describe ( "DataWindow.Crosstab.Columns" ) also give me names at design time.
Thank you for your ideas...
> I am trying to read column header values of a crosstab datawindow :
> - I tried GetItemString ( ), but what are the names of the text header fields : I only got the column name
> defined at design time.
> - A Describe ( "DataWindow....How to code, When clicked DataWindow Column Header then sort ?
Hello to you,
How to code, When clicked DataWindow Column Header then sort ?
try copy it from PFC function
"steven" <firstname.lastname@example.org> wrote in message
> Hello to you,
> How to code, When clicked DataWindow Column Header then sort ?
> Pls advice
...Getting the column's header names
Is there a way to get the column's header names programatically in a
grid-style DW control?
You loop through the column count doing a describe on "#" + string (
index ) + '.name'
On 3 Apr 2007 13:05:19 -0800, "Gus" <email@example.com> wrote:
>Is there a way to get the column's header names programatically in a
>grid-style DW control?
I'm sorry but I 'm new on this...
I have a dw_grid_customers DW control... How and where should I use the "#&q...HOW CAN I GET THE COLUMN TYPE WHEN I DON'T HAVE COLUMN NAME
We have developed one application, now we would like to change the
format/edit mask depends on the parameters. To do so I should know the column
My question is HOW CAN I GET THE COLUMN TYPE ? WHEN I DON'T HAVE COLUMN NAME.
In other words if I have array of columns in a datawindow and I want to check
the column type one by one for each column no.
If I code like this , it gives compilation error.
long ll_col_count , ll_kount
ll_col_count = integer(dw_1.object.datawindow.column.count)
for ll_kount = 1 to ll_col_count
ls_col_...Does the HTML Datawindow have the ability to sort by clicking on the column header?
This was a feature of the Sybase Datawindow DTC. Please tell me if this is
possible and where I can find documentation on how to do this. Thanks.
You can send any modify expression to the Web Datawindow, so yes, the
functionality is their, but this is the degree to which it is exposed.
Dynamic Data Solutions, Inc.
Enterprise Application Studio 3.0 Consulting and Training
Thanh Le wrote in message <8leQezRr#GA.firstname.lastname@example.org>...
>This wa...Reference the name of the header object for a column in a grid datawindow.
Does anyone know a way to reference (using the PFC is an option) the
name of the static text header field for a column in a grid datawindow? I
am doing dynamic column ordering in PB 8.01. This can be done by making
columns invisible and then visible again in the order you want them
displayed. Well in PB 6.5 all you had to do was do a Modify with the column
number and set the visible property to 1. In PB 8.0 doing that only makes
the column's data visible, but not the header text field. That needs to be
done via another Modify. When in most cases using the column'...Getting column's header in a Crosstab datawindow
My problem is as follows
I have made a cross tab datawindow. In that i want to change the column headers
at runtime. How could i get cloumn header name(it will vary at runtime) and
it at runtime. One thing is that i can't use column expression because i have to
get the value from other table.
Thanks in advance.
...Is there a way to add extra control to header of a Grid column, but still keep the default column name? thanks
I am using Grid, and I add template field
<asp:TemplateField HeaderText="name" SortExpression="something">if I want to have special header, I can use HeaderTemplate, but with HeaderTemplate added ,the headertext will not show, if there a way I can just add a control beside the headertext? since I don't want to handle the column sort.
I am sure there is a better way to do this, but in the past I have used the following method although I left out the commandname and arguments
protected void GridView1_DataBound(object sender, EventArgs e)
string celltext = GridView1.H...How to get Column Header
How do I find the name of the column / header of the datagrid I am working with,
I am using the following code, and it's the COLUMNNAME I need to select as the current column name.
<asp:datagrid Visible=true id="DataGrid1" runat="server" OnItemDataBound="GenerateLinks" Font-Names="Arial" Font-Size="9pt" ForeColor="Black"></asp:datagrid>
Sub GenerateLinks(ByVal sender As Object, ByVal e As DataGridItemEventArgs)
'First, make sure we are dealing with an Item or AlternatingItem
If e.Item.ItemType = L...