craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > Column Post New Topic   Post A Reply
get the type of column ? is it a checkbox, a combobox, a str... printer friendly version
next newest post | next oldest post
Author Messages
infow
Lieutenant General

Gender: Male
Location: France
Registered: Mar 2005
Status: Offline
Posts: 38

Click here to see the profile for infow Send email to infow Send private message to infow Find more posts by infow Edit or delete this message Reply w/Quote
Posted Monday, August 8, 2005 @ 10:44:43  

Hi,

For example the column is set by
Hashtable h = new Hashtable();
h.put("F", new Boolean(true));
h.put("P", new Boolean(false));
setCellComponent(colonne, Column.CHECKBOX_CELL, h);

in a function, i need to know if the column is a checkbox, a combobox or a string ...
How can i do that ? how can i access to the variable cellType in SBTableCellEditor ? is thios varaible ok for that ?

thanks for your help and have a nice day ...

--------------------
Olivier

Admin
Board Owner

Gender: Unspecified
Location:
Registered: Jul 2003
Status: Offline
Posts: 9

Click here to see the profile for Admin Send email to Admin Send private message to Admin Find more posts by Admin Edit or delete this message Reply w/Quote
Posted Monday, August 8, 2005 @ 22:28:52  

Currently it is not possible to identify the the cell type like checkbox, combo box. In future we will add them. For now, before calling setCellComponent , store the celltype in a array, so that you can use them later.
Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios