We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

i want to change the header columns caption GridControl combo type GridListControl

Thread ID:

Created:

Updated:

Platform:

Replies:

101748 Nov 17,2011 01:24 PM Nov 23,2011 02:32 AM Windows Forms 1
loading
Tags: GridControl
reda
Asked On November 17, 2011 01:24 PM

Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source =" & Application.StartupPath & "\databind.mdb")
Dim cmd As New OleDbCommand()

Dim da As New OleDbDataAdapter()
Dim ds As New DataSet()

con.Open()
With cmd

.Connection = con
.CommandType = CommandType.TableDirect
.CommandText = "select*from Categories"

End With
da.SelectCommand = cmd
da.Fill(ds, "Categories")
Me.GridControl1.ColStyles(2).CellType = "GridListControl"
Me.GridControl1.ColStyles(2).DropDownStyle = Syncfusion.Windows.Forms.Grid.GridDropDownStyle.Exclusive
Me.GridControl1.ColStyles(2).DataSource = ds.Tables(0)
Me.GridControl1.ColStyles(2).DisplayMember = "CategoryName"
Me.GridControl1.ColStyles(2).ValueMember = "CategoryID"
Me.GridControl1.ColStyles(2).IsAutoComplete()

Me.GridControl1.CurrentCell.ShowDropDown()




i want to change the header columns caption "CategoryName" to cat name
and "CategoryID" to my id

i use the GridControl1 combo type GridListControl

thanks for help



Asarudheen S [Syncfusion]
Replied On November 23, 2011 02:32 AM

Hi Reda,

Thank you for your ineterst in Syncfusion products.

Please follow up the forum 101738 for this query.

Please let me know if you have any further concerns.

Regards,
Asarudheen.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;