Hi,
thanks for that post. But now i have another problem. This eventhandler only
get the new Value.
I have an mysql-db where i load the data and show it into a table. If i use
this event to update the table i get problems if something goes wrong.
This event ever change the view. If i get an error while the database-update
i have no chance to edit the view. So i need another eventhandler. I think
about the click - Event in the Table.
But this event doesnßt know the cell where is clicked. Is it possible to get
the clicked cell with the click-event from the table?
Thanks
Nick Glencross-2 wrote:
>
>
> table_model.addEventListener("dataChanged", function (e) {
>
> var change_info = e.getData ();
>
> var first = change_info['firstRow'];
> var last = change_info['lastRow'];
>
> this.info("Data changed for rows " + first + " ..." +
> last);
>
> var data = [];
>
> for (var i = first ; i <= last ; i++)
> {
> data.push (table_model.getRowData (i));
> }
> ...
>
>
> Hope that helps,
>
> Nick
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
View this message in context:
http://www.nabble.com/Listener-for-table-cells-change-tf2928636.html#a9590696
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel