xpages - ExtLib, iNotes List View: how can I access data selected in the view from the outside? -
Using firebug, I found that the iNotes list view object is called "getSelectedData ()", a function that is distributed like an array of selected entries (see item specific row data such as the "ext" element described by each polyster In this way, using one of the internal events of the list view (like "oncontumentman menu"), I can recover the selected data and I can keep them somewhere else. That's just great!
But, as I have never got the content, I now use the outside (like using a button) object of the list view To reach the selected data collection in the same or similar way. But whatever I try, I do not seem to get the right thing outside the list view. is giving me an object, but without those specific methods Which i need Any hint? Greetings, Lothar I think I have solved it, I am close to tomorrow, but instead of dijit .byId has prevented it from working by using dojo .byId: The result line is a named array of data where each line entry includes all relevant visual entry data on that row. Works like a charm! - Lothar dojo.byId ("# {id: listView1}")
var grid = dijit.byId ("# {id: listView1" } "); Var sel = grid.getSelectedData ();
Comments
Post a Comment