Table View Questions

1 - When you create a tableview, you have the option to set isLocked to true and that way, restrict the Y scrolling of the entire tableview. Is there anyway you can change the value to false or vice-versa AFTER the table view is created?

2 - How would you go about to remove event listeners from rows after one of the rows is selected? Let’s say I want a little delay before transitioning from the list view to a detailed view but I want to make sure that the user can’t quickly select another row just before transitioning?

Thanks,

Marcos

1 - In my app, when I create a pickerwheel from a button situated in the row of my tableview I just used return true right after the function to prevent tableview scrolling. I’ve been trying to use isLocked but it didn’t work.
hope this helps

Did you ever think of a way to remove table view event listeners.  

I have a different problem.  I have a table with about 10 items.  I am putting a slider in there.

It works really well however…

When the tableview widget scrolls, it removes and re-renders each row.  I can an error when it tries to recreate an object as the old listener still exists. 

I tried playing with code to remove the object as part of the onRowRender logic but its not working.  There must be a better way…

#2, you can create a global variable (table / array) to hold all these values. As you touch them, you can easily remove it.

1 - In my app, when I create a pickerwheel from a button situated in the row of my tableview I just used return true right after the function to prevent tableview scrolling. I’ve been trying to use isLocked but it didn’t work.
hope this helps

Did you ever think of a way to remove table view event listeners.  

I have a different problem.  I have a table with about 10 items.  I am putting a slider in there.

It works really well however…

When the tableview widget scrolls, it removes and re-renders each row.  I can an error when it tries to recreate an object as the old listener still exists. 

I tried playing with code to remove the object as part of the onRowRender logic but its not working.  There must be a better way…

#2, you can create a global variable (table / array) to hold all these values. As you touch them, you can easily remove it.