[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.nebula] Re: Grid - Inline Editing

Hello Tom.

Thank you very much. I added your changes and now both work like a charm. But that leads me to another question :-) I don't know if I should start a new thread, but first I'll try my luck within this one.

I want to use the grid/gridtableviewer for quick data entry. Therefore I have a special requirement. When the active cell is the really last one in the grid and the user presses the tab-key a new record/row should be added to the grid. It's more or less the same as in MS Word/OO when the user is editing the last cell of a table and pressing the tab-key automatically adds one new row.

Is this also possible to be done with the grid/gridtableviewer?

Thank you very much.

Peter


Tom Schindl schrieb:
You are right.

Reordered Columns:
------------------
Nebula Grid didn't implement the additional methods we added in 3.4. I filed a bug and added a patch which makes this work [1].


Scrolling Cell into View:
------------------------
This is a bug in GridViewerEditor easily fixable as [2] shows.

Tom

[1]https://bugs.eclipse.org/bugs/show_bug.cgi?id=231530
[2]https://bugs.eclipse.org/bugs/show_bug.cgi?id=231532


Peter Pfeifer schrieb:
Hello Tom.

Many thanks, It seems that it's a bug of the Grid beacause I downloaded Exlipse 3.4M7 and tried what you suggested. But still it has the same behaviour. Neither the inline editing nor the scrolling works as supposed to. I've never filed a bug before. How does the procedure look like, or is there already a bug entry in bugzilla?

Regards, Peter

Tom Schindl schrieb:
Peter Pfeifer schrieb:
Hello Tom.

Thanks for your answer. This means, if I change to Eclipse >= 3.4M7 this should work out of the box?

Yes.


There is one more thing I emcountered. When I do inline editing in a GridTableViewer with eg. 60 lines where only 10 are displayed at once in the GridTableViewer, the table does not scroll down to the line which is currently edited. If you scroll down by using the vertical scrollbar inline editing is still possible. Is it possible to scroll automatically to the position of the line, if this line isn't shown?



This is also a fix in 3.4 stream. The bugfixes you are interested in are:
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=201910
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=195908


Tom