Subject |
Author |
Date |
|
Jake G.
|
Jul 25, 2006 - 1:49 PM
|
Hi,
Can somebody show me how to use the ValidateEditingCellData event? Is it the right tool for validating user input e.g in a text edit cell?
|
|
Technical Support
|
Jul 26, 2006 - 6:40 AM
|
Here is a simple C# project that illustrates the issue. Please build and run the application. You will see that if you type a space in any cell in the Name column, the value will not be committed to the bound data. This is achieved because the ValidateEditingCellData event is handled in this way: private void boundGridControl1_ValidateEditingCellData(object sender,
Elegant.Grid.ValidateCellDataEventArgs e)
{
if(e.Cell.Column != NameColumn)
return;
if(e.ValidationReason == DataValidationReason.BeforeCommit &&
e.DataValue.ToString().IndexOf(’ ’) != -1)
{
e.InvalidDataBehavior = CellInvalidDataBehavior.None;
e.Valid = false;
MessageBox.Show("The name cannot contain spaces.");
}
} If you mean something else, just contact us and we will help you find the most appropriate solution.
|
|
Jake G.
|
Jul 26, 2006 - 11:35 AM
|
Many thanks. Works like a dream!
|
|
Classified Classified
|
Jul 8, 2006 - 2:26 PM
|
No columns appear only empty white lines, why?
|
|
Technical Support
|
Jul 9, 2006 - 6:51 AM
|
Probably you have not added any grid columns to the grid. The easiest way to solve this problem is to generate grid columns from the data table you have bound the grid to. To do this, please click Retrieve columns from the data source at the bottom of VS properties pane when the grid is selected. The generated grid columns will appear immediately. Besides you can always control grid columns manually by using the Columns property of the grid. If you have any other questions, please do not hesitate to contact us.
|
|
Bahrudin Hrnjica
|
May 20, 2006 - 12:10 PM
|
When you drag BoundGridControl from toolbox in to form designr and want to get popup menu by clicking right mouse button, nothing hepend.For unbound control it works.
|
|
Technical Support
|
May 22, 2006 - 7:38 AM
|
Thank you for reporting the bug. It is already fixed in the final version, which will be released in a few days.
|
|
Alex Plisandro
|
May 17, 2006 - 7:41 AM
|
Elegant Grid Beta looks fine and some your samples are just fascinating! I am looking forward to the release with documentation. When do you plan to release it?
|
|
Technical Support
|
May 20, 2006 - 11:22 AM
|
Than you for the kind words. The documentation is ready (contact us by e-mail, if you need it right now). The final version of the Elegant Grid will be released in a few days.
|
|
Don Viewer
|
Apr 3, 2006 - 10:04 AM
|
I played with adding data rows to groups and noticed the following problem. The data cells in the above mentioned groups have an incorrect layout. This causes the whole data row is shifted to the right too far. I wonder if I did something wrong.
|
|
Technical Support
|
Apr 3, 2006 - 10:58 AM
|
Thank you for the bug report. We confirm the problem and will fix it as soon as possible. Please contact us by e-mail so we can tell you how to download the latest stable version via ftp.
|
|
a a
|
Mar 23, 2006 - 4:06 AM
|
Hi. Just a question about the scroll position.
Is there a way to keep the scroll position of a property grid after resynchronizing the property store? Cause it seems each time the user resynchronizes the property store, it leads to the top of the list of properties. If there is no ready-to-use solution, is it possible to get/set the scroll offset, so that I can save the position on reload?
Thanks.
|
|
a a
|
Mar 23, 2006 - 5:12 AM
|
|
|
shark 7
|
Mar 14, 2006 - 2:27 AM
|
I need to initialize grid rows when user scrolls the grid vertically (virtual mode). Could you suggest me which version of elegant grid should i use?
|
|
Technical Support
|
Mar 15, 2006 - 3:56 AM
|
You cannot do this easily now but the virtual mode will be available in Beta 3 (coming soon).
|
|
shark 7
|
Mar 14, 2006 - 2:21 AM
|
How to create a skin for elegant grid?
|
|
Technical Support
|
Mar 15, 2006 - 3:51 AM
|
You can easily create a skin for the Elegant Grid using the Visual Studio Windows Forms Designer. In design mode, simply edit the appearance settings of the grid to make it look and feel like you want. Then click the Save Skin... hyperlink under the property grid in the Visual Studio’s Properties window. In the Save File As dialog, select a location and a name for your skin file.
You can use this skin file for whatever instance of the Elegant Grid instance you want. All the particular details of how to set up the appearance settings will be included in the documentation on the Elegant Grid (it will be available in the final release).
|
|
Vikas Kumar
|
Mar 10, 2006 - 5:44 PM
|
From where can i get the help for Elegant Grid. I am running into a problem where in the grid throws null refrence exception. I think i am doing some thing wrong but since i was not ablt to get the help and make sure that i am following the right steps.
|
|
Technical Support
|
Mar 11, 2006 - 4:56 AM
|
We are working on the help now and it will be available along with the final version soon. As for the bug, we will really appreciate if you will let us know the details about how to reproduce the problem. Please note that we uploaded Beta 2 on March 10. So, please make sure you are using this version.
|
|
Don Viewer
|
Mar 6, 2006 - 9:11 AM
|
1. Resize columns so that horizontal scrolling is to be activated. 2. Scroll grid horizontally completely to the right. 3. Now, if to resize last column so that all conent can fit to grid horizontally, content of each cell in that column will exceed the one’s right bound.
|
|
Technical Support
|
Mar 8, 2006 - 11:03 AM
|
Thank you for your bug report. The bug with incorrect painting of the rightmost column when the column is resized is fixed. The bug actually happened in some cases and was dealt with scrolling. Thank you again.
Watch for the Elegant Grid Beta 2! It will be available in a few days.
|
|
Technical Support
|
Feb 22, 2006 - 5:16 AM
|
We are pleased to introduce the first beta release of our new product Elegant Grid, a powerful tool set for Windows Forms developers. We invite you to become a beta tester. To become a tester, simply download and test the beta version of the Elegant Grid. Please report all problems you experienced with the product by e-mail or in this forum. We also are interested in any suggestions you have to improve the Elegant Grid. The most active testers will get the next major version absolutely for free!
|