
I upgraded to 4.55.37.0 Pro in 7/2009. Atleast since then the Datatable editing does not work. It is useles. After more 100 h of work I could not get it working.
The DataTable is binded to postgres DB OK. When I enter a string field , it has char 48 lenght in pg, the cell editor do not work properly.
When I click the whole cell is highlighted. The cursor is at the most right position.The contents is name + left padding blancos up to 48 chars. Like 'Anna............................'. Because the visual column can show only 30 chars I can see '....................|'. I have to use left arror to find Anna text.
If I just click the cell or enter edit state I have to delele 6 chars after Anna to be able to add even 1 char .
If I just go to position after Anna and I enter more text I get DataError because the cell is more than 48 chars >maxLenght. The editor do not cut the entry to 48 chars. Unicode is used which is another problem, but in this case (Anna) it does not incluence.
If I limit the Max Lenght from default 32767 to 40 if DataGridView, the editor operates even crazier. And if I limit the DataTable [collection]'s property lenght from -1 it makes the same error. The input is always too long and gives DataError.
The Devartdata.postgres.dll is v 4.55.37.0
Devart.data.dll is 5.0.2.0
Devart.data.postgresql.entity is 4.50.33.0
It is like the Devart.data parameters are not compatible with software.
Are the versions ok ?
I am not going to upgrade Devart package before I can see this works.
2. The Other problem is related to having 2 different versions of the postgres data base ( old and new). The new has more column and longer name field (48, old is 40). I want to use one DataGridView1 and bind it to DataTable1 or DataTable2 after I have started the application according to setups in prog.ini file. I can do that and the application test is using it. Is this the right way to select datasource ( to bind it) and turn the DataGridView Column visual to False for not used data columns= PG table fields ?
3. Also I can not even solve this problem by creating my own cell editor. It should already work.
-How can I even read the real current database field lenght to limit the entry ?
I was planning of buying a commercial datagrideditor package, but it operates if DataSet is used and I think I can not use that.
(http://visualhint.com/fieldpackeditor) or
(http://www.softwaresigloxxi.com/DataGri ... ender.html).
Any suggestions which works. The .NET version is limited.
4. The documentation does not describe all the parameters of DataTable and related [collection] parameters. So it is alchemy and crazy to test all combinations.
5. If the 'use pg data types' in DataTable design in VS2008 is set to true , it removes the databindings immediately without warning and there is no undo. You just destroys hours of work. I do not even know how it does because of the lack of information.