Subject |
Author |
Date |
|
Nachman Israel
|
Dec 22, 2008 - 8:57 AM
|
Hi, I want to handle keypresses in your grid control. I added two virtual functions OnGbwAnalyzeCellKeyEvent and OnGbwAnalyzeCellSysKeyEvent to the class derived from CExtPPVW<CExtGridWnd>. However in debug mode I did not hit to these functions. Ie Keystrokes are not processed. Perhaps in the control you need to install some flags. Can you give some working samples in which processed pressed? Regards, Michael Kanzieper
|
|
Technical Support
|
Dec 23, 2008 - 9:10 AM
|
First of all, this forum is related to the Elegant Grid control written in C# rather than to the CExtGridWnd C++ class in Prof-UIS library. Please post your Prof-UIS related messages to Prof-UIS forums.
The OnGbwAnalyzeCellKeyEvent() and OnGbwAnalyzeCellSysKeyEvent() virtual methods are invoked if the grid window is focused because all the WM_KEY*** messages are sent by Windows to the single focused window on the desktop only. Please also ensure your grid control uses any __EGBS_SFB_*** or __EGBS_SFM_*** selection model but not the __EGBS_SFB_NONE model.
|
|
Brandon Frye
|
Nov 6, 2008 - 11:04 AM
|
Can text cells in the grid have a transparent background? I tried cell.Style.BackColor = Color.Transparent, but that did not work. thanks
|
|
Technical Support
|
Nov 6, 2008 - 1:08 PM
|
Could you please clarify your question? How are you going to use cell transparency? Do you want a grid to be transparent at all or you want to see the grid background though the cells?
|
|
Mirea Catalin
|
Nov 5, 2008 - 1:13 AM
|
Hello, I have a couple of situations where i have a cell pointer and i need to retrive the coresponding grid row or column. Example: CExtGridCell* pCell; Is there anything like this? int rowNb = m_wndGrid->GetCellRow(pCell); If this functionality is not supported maybe there is an <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <meta content="Word.Document" name="ProgId" /> <meta content="Microsoft Word 11" name="Generator" /> <meta content="Microsoft Word 11" name="Originator" /> <link href="file:///C:\DOCUME~1\CATALI~1.MIR\LOCALS~1\Temp\msohtml1\01\clip_filelist.xml" rel="File-List" /><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><style type="text/css"> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} </style> <![endif]-->workaround. (I’m trying with HitTest function but no luck) Tx
|
|
Technical Support
|
Nov 6, 2008 - 1:05 PM
|
The CExtGridWnd grid control does not contain any grid cells. It only allows grid cells to be painted, hit-tested, edited, resized and etc. All the grid controls are stored in a data provider component, which is internal and invisible. This architecture is similar to MFCās document/view architecture. The grid control is like a view window and the data provider is like a document. Itās possible to make more than one grid control using the same data provider containing the same two dimensional array of grid cells. So, the grid cells does not know anything about their location inside grid window. The grid cells even donāt know whether they are displayed at least in one grid window. That is why most of methods in grid cell classes have parameters with pointer/reference to grid control and row/column numbers. As a result, if a grid cell class is notified about anything via some of its virtual methods, this method knows grid window pointer/reference, cell coordinates and other/additional event information via method parameters. The same is related to virtual methods of CExtGridWnd class. Your code always knows where is the grid cell located and which event happened.
Please note: your question should have been posted to either of the following forums rather than to this forum (.NET Elegant Grid):
http://www.prof-uis.com/prof-uis/tech-support/support-forum.aspx http://www.prof-uis.com/prof-uis/tech-support/general-forum.aspx
|
|
Mirea Catalin
|
Nov 5, 2008 - 1:16 AM
|
Sorry for the previous post. It should look like this:
Hello,
I have a couple of situations where i have a cell pointer and i need to retrive the coresponding grid row or column.
Example:
CExtGridCell* pCell;
Is there anything like this?
int rowNb = m_wndGrid->GetCellRow(pCell);
If this functionality is not supported maybe there is an workaround. (Iām trying with HitTest function but no luck) Tx
|
|
Ivan Maguidhir
|
Oct 2, 2008 - 6:19 AM
|
Hi I’m trying to install ElegantGrid on a machine running Windows Vista Business and Visual Studio 2005 (with Vista updates).
I run the installer as Administrator, the following screen appears but no progress is made.
When I look in the Task Manager, the devenv.exe and a .tmp installer process are running as well as a dialog entitled "Information Window".
Any ideas on what might be causing this? All the best
Ivan
|
|
Ivan Maguidhir
|
Oct 2, 2008 - 6:34 AM
|
I should also point out that there are thousands of temporary files in my temp folder after forcefully closing the setup program.
Regards,
Ivan
|
|
Technical Support
|
Oct 6, 2008 - 5:05 AM
|
Weāve never been reported this bug before. Anyway in the new version of Elegant Grid we changed the way our components are integrated with VS. It is scheduled for release soon. By the way you can install Elegant Grid manually. If this suits you, please contact us by email so we can provide you with the binaries.
|
|
Peter Phelan
|
Sep 15, 2008 - 3:53 PM
|
I am curious to know what you guys use in-house w.r.t automation tools.
I am looking to interrogate the grid control using silktest but alas it is a difficult task.
Do you recommend some other tool or have you guys created any hooks that help you work with such tools as SilkTest and QTP.
I have also downloaded testcomplete (i.e. another windows automation tool) but alas the same object recognition issues.
Thanks Peter.
|
|
Technical Support
|
Sep 16, 2008 - 9:42 AM
|
No, we donāt use any existing external tools.
|
|
Steve Pinckney
|
Aug 27, 2008 - 3:31 AM
|
Hello, I’m currently evaluating your grid and really like it so far, but I’m having a problem. I have a database table that contains a column named "active_flg." The values contained in this column are Y or N.
I have tried to set the column type for active_flg to checkbox, but whenever I do I get the following error message:
"String was not recognized as a valid boolean." I have also tried to use a mappingDataSource as displayed below, but I get the same error when I do. //Variable declarations
private object[][] _YN_BOOLEAN_MAPPING_S = new object[3][]
{
new object[]{"Y", true},
new object[]{"N", false},
new object[]{"R", false}
}; In the load method I have the following code:
active_flgColumn.MappingDataSource = _YN_BOOLEAN_MAPPING_S;
active_flgColumn.MappingValueDataMember = "[0]";
active_flgColumn.MappingDisplayDataMember = "[1]"; The behaviour I’m trying to implement is that when the user clicks the checkbox, a Y will be written to the database (and then to the database table.) Please help, Thanks. Steve
|
|
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,
|
|
Technical Support
|
Jan 9, 2008 - 3:56 AM
|
|
|
Emil Graič
|
Jan 8, 2008 - 5:45 AM
|
how create new skin and load in SkinManager
|
|
Technical Support
|
Jan 9, 2008 - 3:46 AM
|
Unfortunately custom skins are not supported at the moment.
|
|
Emil Graič
|
Jan 25, 2008 - 5:13 AM
|
ali v nadaljevanju nacrtujete pripraviti urejevalnik skin ov?
|
|
Irak Rubio
|
Dec 4, 2007 - 9:19 PM
|
Hola, Tengo el siguiente problema: Probando el control, convierto una celda al tipo Combobox (muy dificil por cierto, ya que no cuento con documentacion facil de entender) y cuando ejecuto el programa trato de seleccionar un elemento del combobox y me aparece el siguiente mensaje:
{"Value cannot be null.\r\nParameter name: expression"} {System.Collections.ListDictionaryInternal} "Elegant.Grid" at Elegant.Auxilary.DataBinder.DataBinderImpl.Eval(Object container, String expression) at Elegant.Grid.ComboBoxCell.OnCommitEdit() at Elegant.Grid.Cell.CommitEdit(Boolean endEdit) at Elegant.Grid.ComboBoxCell.ComboBox_SelectionChangeCommitted(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectionChangeCommitted(EventArgs e) at System.Windows.Forms.ComboBox.OnSelectionChangeCommittedInternal(EventArgs e) at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m) at System.Windows.Forms.ComboBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m) at System.Windows.Forms.Control.WmCommand(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at System.Windows.Forms.NativeWindow.DefWndProc(Message& m) at System.Windows.Forms.Control.DefWndProc(Message& m) at System.Windows.Forms.Control.WmCommand(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ComboBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(ApplicationContext context) at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine) at Grid.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81 at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
Tengo la licencia de este producto como podran observar arriba, en el stack trace.
Honestamente, me gustan las prestaciones que ofrece su producto pero me siento frustado por no tener una forma facil de dominarlas, aunado a este tipo de mensajes de error que me dejan con desconfianza como para poderlo integrar en mis desarrollos... Quisiera saber si existe algun parche o algo por el estilo que corrijan los bugs que se han identificado, ademas de un manual de usuario (aunque sea en ingles) que me pueda guiar para explotar al maximo su producto de forma clara y sencilla.
Saludos
|
|
Technical Support
|
Dec 5, 2007 - 9:19 AM
|
We are sorry but at the moment we do not have Spanish speaking staff that can help you. Could you describe the problem in English? Thank you.
|
|
lee insung
|
Nov 23, 2007 - 1:39 AM
|
Yesterday I installed Grid control that was trial version and it worked well . But suddenly i saw the message like this "first >> Elegant Grid
evaluation period has expired". Is there some wrong ? I think that the trial version of Grid control is vaild utill 60days.
Is there a way to solve the problem?
Best Regard.
|
|
simon jeon
|
Nov 28, 2007 - 6:24 PM
|
Hello Lee.
We are reseller in Korea and we don’t have any something wrong message with Elegant Grid. So, please discuss with us this issue and we will be able to help you.
Thank you.
Simon Jeon TEL:(02)705-7770
--- Korean Message --- ????? ????
??? Prof-UIS ?? ??? (?)????? ???. ElegantGrid ? ??? ???? ???? ??? ??? ?? ????.
??? ?? ??? ??? ???? ??? ????. ????: (02)-705-7770 ??? : ???
|
|
Technical Support
|
Nov 27, 2007 - 5:23 AM
|
Thank you for reporting this problem. We will look into it. But it is really strange. We have a lot of customers in Korea and nobody reported this bug before. Anyway we will try to find out what is wrong.
Thank you.
|
|
Technical Support
|
Nov 23, 2007 - 6:06 AM
|
Of course, in order to evaluate Elegant Grid, you can use it for 60 days. Thank you for reporting the problem. Would you let us know some more details about the problem?
1. What is the OS (and service pack if any) you are running? 2. What is the language of the OS, English or Korean? 3. What Visual Studio(s) is(are) installed?
Thank you again. With your help, we hope to fix the problem quickly.
|
|
lee insung
|
Nov 25, 2007 - 4:39 PM
|
1. What is the OS (and service pack if any) you are running?
>>Ms windows xp professional K viersiom2002 service pack 2
2. What is the language of the OS, English or Korean? >>Korean 3. What Visual Studio(s) is(are) installed? >>Microsoft Visual Studio 2005 , korean ,
|
|
lee insung
|
Nov 21, 2007 - 12:41 AM
|
Hi! I am Gridcontrol User. Please check! Elegant Grid Error Message. Why? I am not useing the Grid control >>my Download day 2007.11.20 >>error message box is first >> Elegant Grid evaluation period has expired second >> UnboundGridControl’....error message location: Elegant.Grid.GridControlBase.CheckDesignTimeLicense() location: Elegant.Grid.GridControlBase..ctor() location: Elegant.Grid.UnboundGridControl..ctor()
what can i do?
|
|
Technical Support
|
Nov 21, 2007 - 8:43 AM
|
Thank you for reporting the problem. Please let us know the following:
1) When did you install Elegant Grid for the first time? 2) Did you purchase a license?
Then you wrote
I am Gridcontrol User.
But at the same time you also wrote
I am not useing the Grid control
What do you mean by that?
|
|
Marcos Tadeu Rena
|
Oct 25, 2007 - 5:59 AM
|
Hi, we are using the Elegant grid in an application that requires screen update, but when we try to update the datasource of a Bound Grid it keeps the old data and add the new one, kind of duplicating columns.
We have tried to clean the datasource with .Datasource = Nothing, but this causes an
"Object Reference Not Set to an Instance of an Object" error.
How can we proceed?
Thanks so much
Marcos
|
|
Technical Support
|
Oct 25, 2007 - 6:44 AM
|
Unfortunately we failed to reproduce this problem. Could you send us a project that illustrates the issue?
|
|
Marcos Tadeu Rena
|
Oct 25, 2007 - 7:17 AM
|
Hi, I’ve just sent an e-mail with the sample. The subject was "RE: Cleaning the Datasource property in a Bound Grid".
But I’ve sent the mail from wsouza@bulltick.com ’cause my mail has problems...
Thanks in advance,
|
|
Marcos Tadeu Rena
|
Oct 25, 2007 - 7:24 AM
|
It semms that the mail doesn’t allow zip files so I’m sending a text file
|
|
Technical Support
|
Oct 25, 2007 - 9:22 AM
|
Just rename the extension to "._zi". Please note we need a project not a source code excerpt. It is much easier to find out what’s wrong having a project rather than a code snippet.
|
|
CARLOS HERNANDEZ
|
Oct 22, 2007 - 11:36 AM
|
From a click button, I try to consent to the value of a cell with DataValue, but an error exists
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click UnboundGridControl1.Cell(1,1).DataValue <-----------ERROR EndSub
|
|
Martin S
|
Feb 22, 2012 - 7:15 AM
|
got it, sorry, changed datarow for row when adding references
|
|
Martin S
|
Feb 22, 2012 - 7:11 AM
|
tried this example to modify a column value depending on other comboboxcell but can’t cause it says
Dim _TotalByColumnRow As Elegant.Ui.Grid.Row _TotalByColumnRow = grdU.Rows(1) Dim totalByColumnCell As Elegant.Ui.Grid.Cell = _TotalByColumnRow.Cells(grdU.Columns(1))
_TotalByColumnRow.Cells(grdU.Columns(1))
’Cells’ is not a member of ’Elegant.Ui.Grid.Row’.
what reference i’d have to add to use object cells?
thanks
|
|
CARLOS HERNANDEZ
|
Oct 22, 2007 - 11:40 AM
|
In the event click, intent to save to a file in particular the value of some cell.
|
|
CARLOS HERNANDEZ
|
Oct 22, 2007 - 12:08 PM
|
SOLUTION
Dim _TotalByColumnRow As DataRow _TotalByColumnRow = UnboundGridControl1.Rows(1) Dim totalByColumnCell As Cell = _TotalByColumnRow.Cells(UnboundGridControl1.Columns(1))
THANKS
|
|
CARLOS HERNANDEZ
|
Oct 22, 2007 - 10:30 AM
|
As I can consent to the value of a cell of an UnboundGridControl from code?
|
|
Technical Support
|
Oct 22, 2007 - 10:35 AM
|
You can use Cell.DataValue and Cell.DisplayValue properties for that.
|
|
CARLOS HERNANDEZ
|
Oct 22, 2007 - 10:44 AM
|
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
UnboundGridControl1.Cell.DataValue EndSub
|
|
CARLOS HERNANDEZ
|
Oct 22, 2007 - 10:47 AM
|
Impossible, it indicates me ERROR
|
|
Technical Support
|
Oct 22, 2007 - 11:35 AM
|
You should obtain a particular cell instance and then use the properties. You can obtain cells in a variety of ways so a particular way depends on what you are trying to achieve. Please tell us know more so we can help you.
|
|
CARLOS HERNANDEZ
|
Oct 18, 2007 - 4:35 PM
|
greetings. My question is, like I can set text to a cell of the RowHeaderColumn
|
|
Technical Support
|
Oct 19, 2007 - 5:24 AM
|
There is no default implementation for text in row header cells but you can render it yourself using the ICellContentViewer interface. All you need is to implement two methods of this interface: Measure() and Paint() . Then you should set the CellStyle.CustomContentViewerType property of a particular cell style to the type of class that implements the methods in order to apply your custom viewer. You can learn how to make custom cell viewer from the following samples in Simple Demos set: Search, Product Photos, Multithreading, and Graphs.
|
|
CARLOS HERNANDEZ
|
Oct 19, 2007 - 9:21 AM
|
|