[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Grid for displaying database results
From:       Michael Koch <m_koch () bigfoot ! de>
Date:       1999-12-28 13:43:05
[Download RAW message or body]

Am Sat, 11 Dec 1999 schrieb Tim Colgate:
> Hi,
> 
> I need to work with a database and want to display results of queries in
> a grid. I would also like to be able to edit data in the grid and write
> it back to the database. Are there any grid controls in QT/KDE that
> allow: arbitrary number of rows and columns, editting of data in cells,
> sorting of rows by (double-)clicking on column headers, dynamically
> resizing numbers of rows/columns?
> 
> If such a control doesn't currently exist, is anyone working on one? If
> not, any suggestions as to the best starting point? I've had a look at
> KTreeList which has some useful features (e.g. the sorting), but doesn't
> look easy to turn into an editable grid. QTableView however is rather
> limited. Am I missing something?

QListView is the widget you have to use. Editing is not possible with this
widget. In KSql I have such a widget which can do what you want. Have a look at
it. Loot at my homepage (below)

Ciao,
Michael

-- 
Michael Koch

koch@kde.org
m_koch@bigfoot.de
http://heaven.riednet.wh.tu-darmstaft.de/~mkoch

look here too:
http://www.kde.org
http://koffice.kde.org
http://www.xnot.com/kmysql

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic