Sorry, but I don't get what Oliver is meaning here. This does not work
for the QxListView items as these are just entries in an array, not real
objects. The QxListView works on a data set with virtual rows. There are
no real QxListViewRow or QxListViewEntries, where you can "addData".
Sebastian
Dietrich Streifert schrieb:
can I do this whith every javascript object or just with qooxdoo objects?
var myInstance = new MyObject();
myInstance.addData({ name: "id", type: "string"});
myInstance.storeId("1234abcd");
alert(myInstance.retrieveId());
Is this valid code?
Oliver Vogel schrieb:
That's very easy.
Youst use:
newItem.addData({ name : "muv", type : "string" });
newItem.storeMuv(allItems[i].retrieveMuv());
To set the data and:
newItem.retrieveMuv();
To get the data back.
This works with EVERY Object.
P.S. i am using muv, because this is the name of my company. You can use any
other "id"
Olli
==================================================
Diplom-Informatiker
Oliver Vogel
Geschaeftsfuehrer
Meins und Vogel GmbH E-Mail: [EMAIL PROTECTED]
Esslinger Str. 45 Tel.: +49 (7153) 6136-20
Fax: +49 (7153) 6136-99
D 73207 Plochingen http://www.muv.com/
Handelsregister: Esslingen am Neckar HRB 3536
Geschäftsführer: Dipl.-Inf. Klaus Meins
Dipl.-Inf. Oliver Vogel
==================================================
"wer Rechtschreibfehler findet darf sie behalten"
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag
von Dietrich Streifert
Gesendet: Freitag, 16. Dezember 2005 09:00
An: [email protected]
Betreff: Re: [qooxdoo-devel] List VIew Question
Hello Darryl,
good question!
Here is another one: normaly when using a listview as a
database table
representation for the user we have to carry some id information data
which are usualy invisible for the user (eg. the ID or
foreign keys of a
table row). So when a user does some manipulation on the
listview data
(deleting,changing,drag and drop copy) I want to be able to retrieve
this invisible data in order to identify the data set affected by the
manipulation.
How do we create invisible columns? Or maybe better: how can we store
user defined properties in a listview row?
Darryl Pye schrieb:
Hi all
I am a bit stuck
i was tryng to return an array of data for a row in a list view
when it is double clicked,
I can return the whole list view but not the row selected,
i have tried using getPane
but cannot seem to get it to work.
I am using rendered branch
Any assistance would be aprreciated,
Regards,
Darryl
_________________________________________________________________
Start something musical - 15 free ninemsn Music downloads!
http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clien
tID=667&referral=HotmailTaglineNov&URL=http://www.ninemsn.com.
au/startsomething
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep
through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web.
DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep
through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web.
DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel