Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
|
Subject |
Author |
Date |
|
|
Gunasekaran Velu
|
Apr 7, 2008 - 6:57 AM
|
i am using ElegantGrid(unboundgridcontrol) for Retrieving more data’s from database.But its taking long time to get retrieve.How can i solve this problem?
Can anyone please help me out
|
|
|
Gunasekaran Velu
|
Apr 9, 2008 - 3:22 AM
|
I tried to load data’s from database to boundgridview control in VB.Net.
Below is the code,
Dim oleDbConnection As OleDbConnection = New OleDbConnection(connectionstring)
Dim oleDbSelectCommand As New _
OleDbCommand(select Query, oleDbConnection)
Dim dataAdapter As New OleDbDataAdapter
dataAdapter.SelectCommand = oleDbSelectCommand
Dim dataSet As New DataSet(tablename)
dataAdapter.Fill(dataSet)
Dim table As DataTable = dataSet.Tables(0)
BoundGridControl1.DataSource = table
The data’s are not getting added to the BoundGridviewControl.Please send me any sample code in VB.Net to bound the data’s to grid view control.
Awaiting your reply
|
|
|
Technical Support
|
Apr 10, 2008 - 9:43 AM
|
Here is the article that should help you: Data Bound Grid. Did you read it? If after reading it, you still encounter the above problems, please let us know.
|
|
|
Technical Support
|
Apr 8, 2008 - 5:11 AM
|
If you are working with a database, it is more appropriate to use BoundGridControl. So you may want to try it. If you still have problems after that, please let us know.
|
|
|
Thomas Andersson
|
Feb 11, 2008 - 8:55 AM
|
Hi,
How can I change the size of the group row expand button, we use the Unbound Grid Control on a touch screen so the button is a little to small?
How can I expand a group row from code in the Unbound Grid Control?
Thanks
|
|
|
Thomas Andersson
|
Feb 11, 2008 - 5:59 AM
|
Hi,
How can I add a image and some text to a cell in the Unbound Grid Control?
How can I add a checkbox aome text and a image to a cell in the Unbound Grid Control?
Thanks
|
|
|
Marc Hagele
|
Jan 24, 2008 - 12:33 PM
|
Hi,
We are evaluating the Grid (from Spain), our problem is per example: The Drag a Column Header here Space is displaying the Text in English, we want to customize it but i cant find the right Property. Is there a way to do it?
Regards Marc
|
|
|
Technical Support
|
Jan 25, 2008 - 1:35 AM
|
Unfortunately, you cannot set a custom text for the empty Group By Box at the moment. We will include this feature in the next release.
However there is a solution. Please, send us the correct Spanish equivalent for "Drag a column header here to group by that content." string, so we can provide you with a resource satellite assembly for the Spanish locale. All you should do after that is to put this assembly into the folder where your executable is located. When your current UI culture is Spanish, the Spanish string will appear in the empty Group By Box.
|
|
|
s p
|
Jan 15, 2008 - 8:22 AM
|
Hello! How can I use CExtGridCellUpDown in a property grid, so that it works with double-s not int-s? SP
|
|
|
Technical Support
|
Jan 18, 2008 - 8:36 AM
|
It is not completely clear what you mean by "double-s" and "int-s". If you need a CExtGridCellUpDown which uses double values instead of integers, it is easy to do. Actually CExtGridCellUpDown extends CExtGridCellNumber. The latter is based on VARIANT and allows you to use the following VARIANT types to store a numeric value: - VT_I1
- VT_I2
- VT_UI1
- VT_UI2
- VT_I4
- VT_UI4
- VT_I8
- VT_UI8
- VT_R4
- VT_R8
- VT_INT
- VT_UINT
- VT_BOOL
- VT_ERROR
- VT_DATE
- VT_CY
- VT_DECIMAL As you can see, you can use any of these types including doubles ( VT_R8). Here is a code snippet which assigns a double value to a cell: CExtGridCellUpDown * pCellUpDown =
STATIC_DOWNCAST(
CExtGridCellUpDown,
m_wndGrid.GridCellGet(
0,
1L,
0,
0,
RUNTIME_CLASS(CExtGridCellUpDown)
)
);
pCellUpDown ->_VariantAssign( DOUBLE(0.000000123456789) ); Note that, by default, increasing/decreasing operations change the cell value by 1 (one) and, if you need to change this behavior, you should override the following virtual methods: CExtGridCellVariant::OnValueDecrement(
LPVARIANT pvarValue
)
CExtGridCellVariant::OnValueIncrement(
LPVARIANT pvarValue
)
|
|
|
Juver paredes
|
Jan 8, 2008 - 12:15 PM
|
Ich habe das Demo installiert, haber ich finde kein Information, ob das Control mit Framework 1.1 geht.
Viele gruesse,
|
|
| |