Hey,
thats pretty easy. Just listen to the cellclick and start editing:
table.addListener("cellClick", function(e) {
if (tableModel.isColumnEditable(e.getColumn())) {
table.startEditing();
}
}, this);
Regards,
Martin
Am 02.10.2012 um 13:06 schrieb Ravi Lal <[email protected]>:
> Hi,
>
> I have a table with certain columns set to be editable however how can I
> enable the edit on a single click rather than double.
>
> For checkboxes this is quite confusing for the user as they have to double
> click then single click to make the change.
>
> Thanks.
>
> _______________________________________________________________________
> The BMJ Group is one of the world's most trusted providers of medical
> information for doctors, researchers, health care workers and patients
> group.bmj.com. This email and any attachments are confidential. If you have
> received this email in error, please delete it and kindly notify us. If the
> email contains personal views then the BMJ Group accepts no responsibility
> for these statements. The recipient should check this email and attachments
> for viruses because the BMJ Group accepts no liability for any damage caused
> by viruses. Emails sent or received by the BMJ Group may be monitored for
> size, traffic, distribution and content. BMJ Publishing Group Limited
> trading as BMJ Group. A private limited company, registered in England and
> Wales under registration number 03102371. Registered office: BMA House,
> Tavistock Square, London WC1H 9JR, UK.
> _______________________________________________________________________
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel