gapi Active Member Licensed User Longtime User Sep 16, 2012 #1 Hi all, I've a spinner (DBUtils method) with a list of values, how can add more value in one spinner's row, but with some id ? thanks
Hi all, I've a spinner (DBUtils method) with a list of values, how can add more value in one spinner's row, but with some id ? thanks
klaus Expert Licensed User Longtime User Sep 16, 2012 #2 Once filled you can't change a given item. You would need to clear the Spinner and repopulate it with the new data. Or use a SQL query and populate the Spinner directly with the additional data. Best regards. Upvote 0
Once filled you can't change a given item. You would need to clear the Spinner and repopulate it with the new data. Or use a SQL query and populate the Spinner directly with the additional data. Best regards.
gapi Active Member Licensed User Longtime User Sep 16, 2012 #3 thanks klaus, but in all cases, however, I can only add value to the spinner, I don't know how to add a text or more text (value) and id (to serve as a key) invisible. There'is a way to do this? Upvote 0
thanks klaus, but in all cases, however, I can only add value to the spinner, I don't know how to add a text or more text (value) and id (to serve as a key) invisible. There'is a way to do this?
mc73 Well-Known Member Licensed User Longtime User Sep 16, 2012 #4 gapi said: thanks klaus, but in all cases, however, I can only add value to the spinner, I don't know how to add a text or more text (value) and id (to serve as a key) invisible. There'is a way to do this? Click to expand... You can use an array for this, or a list containing ids and their corresponding items. Another way is to place the id in the spinner itself, using a separator string, in case the end-user doesn't bother to see this. Upvote 0
gapi said: thanks klaus, but in all cases, however, I can only add value to the spinner, I don't know how to add a text or more text (value) and id (to serve as a key) invisible. There'is a way to do this? Click to expand... You can use an array for this, or a list containing ids and their corresponding items. Another way is to place the id in the spinner itself, using a separator string, in case the end-user doesn't bother to see this.
gapi Active Member Licensed User Longtime User Sep 17, 2012 #5 small sample for do it ?! tnx Upvote 0
R Roger Garstang Well-Known Member Licensed User Longtime User Sep 17, 2012 #6 gapi said: small sample for do it ?! Click to expand... http://www.b4x.com/forum/additional-libraries-classes-official-updates/19687-class-view-manager.html Upvote 0
gapi said: small sample for do it ?! Click to expand... http://www.b4x.com/forum/additional-libraries-classes-official-updates/19687-class-view-manager.html