||View All MessagesBack to WebFX|
Hi everyone, I'm currently struggling with the Grid object. I'm trying to build a tabbed interface, like this:
tab 1 | tab 2 | tab 3
Each tab is a stacked <div>, the first of which (tab 1) contains an iframe in which the grid is embedded. Now, I want tabs 2 & 3 to dynamically load data related to the currently selected grid row. So, cut to the chase:
How do I get the data from the currently selected row? Let's say I've selected the 3rd row in my example table, and click 'Tab 2'. I want this to call a JS function, eg. loadTabTwoFor('6234'). However, I don't know how to retrieve, in this case, the data from the first column of the selected row. I got as far as oGrid.getSelected(), but that only seems to return "[object Object]", which is less than useful.
Sorry to ramble, did any of that make sense?
Thanks in advance...