UiApp removing rows from a FlexTable

Showing 1-5 of 5 messages
UiApp removing rows from a FlexTable Andrew Chia 11/1/10 6:22 PM Can this be done? Whenever we want to remove a row I have to recreate the entire flextable it seems? Infact can any child widget be removed from another widget parent? 2010-11-02Sorry I should say, "Error Encountered, An unexpected error occurred".
Re: UiApp removing rows from a FlexTable Andrew Chia 11/1/10 6:31 PM Also when I reload the flextable (after removing some of the rows I get 'A server error occurred' error, which doesn't render the widgets. If I rerun the app it eventually doesn't error after a few attempts. The code which allows deletion is a follo
Re: UiApp removing rows from a FlexTable Andrew Chia 11/1/10 6:32 PM function removeRowFromUsers(e){   var doc = SpreadsheetApp.getActiveSpreadsheet();   var usersSheet = doc.getSheetByName('Users');   var dataRange = usersSheet.getRange(1,1,usersSheet .getLastRow(),usersSheet .getLastColumn());   var usersObject = ge
Re: UiApp removing rows from a FlexTable Andrew Chia 11/1/10 9:14 PM It seems to be the line: var licenceesFlexPanel = app.getElementById('licenceeFlexTable'); which causes the error. If I don't find by elementID but instead pass the initial instance from app.createFlexTable() the error disappears!
Re: UiApp removing rows from a FlexTable pyarek 4/22/12 7:35 AM Andrew. How do you pass pass the initial instance from app.createFlexTable() ? 0 0