datagrid header question -
Dear all,
i have a very simple question
i have a datagrid which its datasource is a dataset with multiple tables that are dynamically created on run time.
the datagrid works fine and great but when the user selects a table to get into it ( as the datagrid shows multiple tables to go into). i need to catch this event and display the table name over the grid captiontext, why ? ? because all the tables in the grid are the same when my user enters a table he dont know which one is he in .
i need to change the grid captiontext according to the table selected in the grid
is this possible ??? and how
thx in advance
Changing datagrid header color -
Hi,
I have set a recordset to my datagrid and I want to change the color of the header. But.....
in my datagrid I can change the header.font.name and header.font.size but how can I set the header.forecolor?
Anyone knows a solution?
Must a use another control instead of the d
[02/03] Add Image in Datagrid Header -
Hi all,
I want to display Image in Datagrid header for sorting. this is the requirement of client. so i can't even think other logic.
Now is there any propert through which i can access datagrid header column ??
If yes then how ??
plz, i need it urgent!!!
Datagrid Column Header, how to disable it -
Hi there,
I have a Text Driver which loads up CSV files into a datagrid and i do not want the column header displayed coz i need the header inorder to transpose it.
If i cant disable it, how can i read from the header?
Here is a screenshot of my program
Cheers
Datagrid Header -
How can I have two lines of header in datagrid (or more). The top-most header needs to span accross few columns dynamically. Can anybody help me.
How can I set the Header row height in a Datagrid -
I would like the header row to be about 3 times taller than all the other rows in a Datagrid, but I can't figure out for the life of me how to do that. Also, I really prefer the FlexGrid behavior with merging duplicate cells; can the Datagrid do this (my research says no...) ?
Any
datagrid column drag/move -
Question: How to rearange columns in datagrid (like in Access) with drag of column header.
How to set maximun records to show on datagrid ... wizard i VB makes datagrid something align to buttom of the form... when I create manualy it is OK.
thanks
colspan in datagrid -
Hi,
I'm building a page which have a datagrid to show information. There are two rows and six columns but 3 of them have the same heading like this:
-----------------------------------------------------------
Name | Code | Currency | Price
(Super!)datagrid header -
Hi all,
How to change datagrid header height and make it multiple line text? Thanks.
Datagrid and header -
I am using Datagrid, and I don't want to use the header fetched from the database. How can I specify a header myself?
GridColumnStyles in DataGrid -
Any tips on why gridcolumnstyles don't show in the datagrid?
My datagrid uses a dataset for an Access table. No matter what I do to the gridcolumnstyles, the datagrid displays the defaults and use the dataset column text for the datagrid column header. I change the width and the c
[02/03] Floating datagrid header or display every 15 rows -
I have a datagrid that I want to display all the results on the screen and not page. If you scroll down you lose the header so I was wondering if anyone has seen a way to float the header as you scroll or at least add a new row every say 15 rows.
Thanks.
Column header in datagrid -
hi all,
i have to display the column header value in datagrid as vertical.
Pls give me some idea ASAP.
Thanks and Regards,
Vijay S
datagrid header text and sorting -
Hi,
I have a form in which when user first enter, will display an empty datagrid.
Q1.
I want this grid to show column header text when first display (w/o data). I've tried to define TableGridStyle, and add it to the grid, but it just display an empty box w/o header. The only w
remove row header in datagrid -
Hello
I'm looking for a way to remove or hide the header in front of the rows in a datagrid.
Someone who can help me?
tnx in advance..
nickname
Asp.net Datagrid sortcommand -
I would like to use datagrid allow sorting (Isortcommand), when the datagrid column header clicked would like to sort.
Can you please tell, when the co9lumn header is clicked do i have to again bind the data from DB sorting using that column.
Or can i sort it, on the front end it
datagrid header question -
Dear all,
i have a very simple question
i have a datagrid which its datasource is a dataset with multiple tables that are dynamically created on run time.
the datagrid works fine and great but when the user selects a table to get into it ( as the datagrid shows multiple table
Template column .. -
Is it possible to add a image in dataGrid header along with text, and when clicked upon, does the sorting in the datagrid (normal sort functionality) but also change the image of that column header dynamically ??
how to merge two column header of a datagrid, listview, or flexgrid -
Good Day to EveryOne!
Can anyone help me how to merge two column header of a datagrid, listview, or flexgrid. Is there a way to have to rows in the header
It should look something like this:
------------
: Range :
: Min : Max :
------------
: 0 : 10 :
.
Datagrid sorting problem -
Hi,
i have one problem with windows.forms datagrid. Namely, datagrid is bind to datatable and when user click on some row in datagrid textbox populate with text from one datagrid cell datagrid.item(row,column).ToString().For this I use datagrid CurrentCellChanged event. That works fin
How to add a textbox in the header of a winform datagrid. -
Hello,
In a .net winform application, I would like to add a textbox or a combobox in the header of a datagrid to do an autofilter like in excel.
Do you have an idea?
Thanks,
Benoit
sorting datagrid column header -
hi,how to sort "ascending 'and "descending" at datagrid column header?thanks fo r help!
Question on using header or static library -
In my program i originally intended to maker a wrapper using a class within a static library.
But I had a brain wave and i thought why not just stick the code into a header instead of making a static library aswell as a header.
Well my header works nicely.
But my question is,
Change datagrid header from code behind -
I have a dtagrid called datagrid1. When I have my code behind process run I want to be able to change the header text of the datagrid from there.
Can someone give me an example of some code that will do this from the VB code behind?
I'm using VS .Net 2003.
Thanks
Regarding changing the datagrid length -
I was wondering if there is any relationship between the length of a string which we find using string.length and using that length to set the width of a datagrid. Is there any way I can equate the two. I tried the statement below but the width of the datagrid column is far short of th
DataGrid Control problem, please help -
When I click on a Datagrid control, how can I get VB to know if I am clicking on the header of a row, the header of a column, or a cell?I know the column headerclick event will give me a bit help, but it only accept left click, what if I want right click? could some one help me out ?
how to center header column text -
I have a DataGrid tied to an adodb recordset built from an sql query, and works fine. In order to improve display format, I tried to center the data the DataGrid columns display and the header text, using MyDataGrid.columns(i).aligment = dbgCenter, but it centers only the data the colu
two line headers in datagrids -
I need to have two lines in the header of my datagrid,
example:
|----------------|
|--Temperature--| - header line 1
|----------------|
|--Min--|--Max--| - header line 2
|----------------|
|--5.0--|--10.0--| - item line
|----------------|
does anybody know if this is p
Calling ItemCommand in Datagrid -
Hello,
I have datagrid. There is imagebutton in the header of the column. When the datagrid is bounded and button is pressed then itemcommand event is called.
How to call this event (itemcommand) with same command name in Page_Load routine and before datagrid is bounded?
Tha
DataGrid: Header Alignment -
Does anyone know how to change the Header Alignment of a data grid? I am using DataGridColumnStyles but there is no property for header alignment. There is a plain .Alignment property but that is for the cell text.
Any ideas??
Thanks!!
Datagrid & Header Sorting -
I'm using VB.NET 2003
Here is my problem.
I have a datagrid (not binded to a dataset)
If I highlight line 3 and after I click on one of the header to sort.
I my line 3 is now line 7 after the sort, I would like to have that line 7 highlighted. Actually line 3 would remain
[02/03] Datagrid column resizing -
I am using VB.NET 2003. I want to re-size datagrid columns at run-time and also want to give different header names. How can I do that.
How to Use DataGrid -
Hi All
I'm new in VB.net and i don't how to use datagrid by filling the grid and set the header, can any one help me
regards
No-one using the datagrid -
Whow,
can't imagine that I'm the onlyone with this problem....
I've now use a flexgrid as header (so I didn't have to rewrite all the code (what I will do eventually probably))
Isn't anyone using the datagrid?
Thanks for reading,
Fedor
Show Scrollbars On DataGrid -
Is it possible to have scrollbars show on a datagrid please?
I've not set the layout width property of the datagrid & set the header columns not to wordwrap & to be 1000 pixels wide, but the site automatically formats the control to fit onto my webpage, I'd like to be able t
Header files -
Hello all. I have a question regarding header files. I know that when you compile your programs it automaticaly converts the code based on this header file. What I would like to do is be-able toggle between the two views based upon the header file. Is there an easy way to do this?
datagrid prerender error -
I get an error
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index
when i m not binding any data to the datagrid. The line that is triggering is
Dim Tbl As Table = Ctype(DG.Controls(0),Table)
Can anybody please h
Changing the column length of the DataGrid at Runtime -
Can anyone help me to find a way to change the width of a datagrid column at runtime based on the length of the column header. The column header can have variable length.
Thanks a lot.
Passing Dataset into Datagrid -
after da.fill(ds), what are the codes to put all the data in Dataset to Datagrid?
i would like to know what are the codes to:
- change the datagrid col field header
- change the size of the datagrid width/height
- change the cell colours
- how do i add a new col, with my own dat
How to return Column header name in Datagrid -
I want that, when I double click on a datagrid cell, it will return a msgbox with Column header name (i.e. field name). Like if I write
Code:
msgbox datagrid.text
Then it returns the value of that cell. But I need the column name. Is that possible?
datagrid header, bitmap -
I need to add graphics in my header, a bitmap. How can this be done? I also need the pic to scale...
Any solution?
/henrik