Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4586696
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T21:40:31+00:00 2026-05-21T21:40:31+00:00

rowData = []; alert(rowData[0]); gives me [Ti.UI.TableViewRow] Now how can i remove this element…

  • 0
rowData = [];

alert(rowData[0]);

gives me [Ti.UI.TableViewRow]

Now how can i remove this element… i have been using rowData.splice(), but i have no idea on what to pass to remove it.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T21:40:32+00:00Added an answer on May 21, 2026 at 9:40 pm

    In the code you present rowData should be empty, so rowData[0] should be undefined. I suppose something is pushed to rowData in between? Anyway, there are several ways to remove elements from arrays:

    • You can remove all elements at once
      from an array using rowData.length =
      0
      .
    • If you want to remove 1 element, use
      the Array.splice method. E.g.
      removing the first element:
      rowData.splice(0,1) (means remove
      1 element of rowData starting from
      element 0 (the first element)
      .
    • If it’s only the first element you
      want to remove you could also use the
      shift method: rowData.shift().
    • The last method you can use is
      slice: rowData = rowData.slice(1)
      (means: give me all elements from
      rowData starting at the first element and
      assign the result to rowData
      ),
      or rowData.slice(1,4) (means:
      give me all elements from
      rowData starting at the first element,
      ending at the fourth element, and
      assign the result to rowData
      ).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some non-standard XML from a legacy app: <PODRoot> <RowData> <PODItem>Item243</PODItem> <StoragePath>PODItem66</StoragePath> <ID>-13</ID>
I have a JTable where I want to highlight some rows using a custom
I am using DataTables to display row data, in the last column on the
I'm a bit stumped and I'm hoping someone can help me. I've got a
I'm having trouble pasting from a csv into the wpf datagrid - I have
I used the codes below to load data(float) and store in an array. My
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CustomCellIdentifier = @CustomCellIdentifier; CustomCell *cell
I've got problem with sorting entries in JqGrid. Orderby seem to not work. I
I'm trying to implement a twitter iPhone app like interface. (Swipe to replace view
I want to extend the DefaultTableModel and change its dataVector. I want to make

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.