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

  • SEARCH
  • Home
  • 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 8988701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:04:02+00:00 2026-06-15T22:04:02+00:00

I’m using Dojo 1.7 and I have a problem with the dojox/grid/DataGrid and dojox/data/CsvStore

  • 0

I’m using Dojo 1.7 and I have a problem with the dojox/grid/DataGrid and dojox/data/CsvStore. I want to create a dojo DataGrid that responds to text input from the user. The user would type in something that is in CSV format into the text area and the CsvStore would read that data and feed it to the DataGrid but I have a few problems and questions.

  1. CsvStore doesn’t always load on time. That is, the _loadFinished property isn’t always true when it is time to feed it to the DataGrid. Do I have to use Deferred or something? This object has no event properties as I had hoped.

  2. It seems that DataGrid must absolutely have to have the structure property declared. I’m not sure if this is true can someone please tell me? Is there a way to bypass this? Because if not this leads to my third problem.

  3. If I need to declare my DataGrid structure/layout, I need to know the fieldnames which I need to extract from CsvStore since I have no idea what my data looks like. I’m not sure how to do this because I can’t call the internal _attributes property that holds the field names. It seems to me that my best bet is using the getAttributes(item) method but I don’t know what item is and according to the documentation, this valuable is required.

Thanks for all your time.

  • 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-06-15T22:04:03+00:00Added an answer on June 15, 2026 at 10:04 pm

    So for anyone interested, this is how I fixed the issue.

    1. Apparently CsvStore and all of the Dojo stores don’t use their primary method _processData unless called by some other widget such as the Grid so it belongs on the same thread.

    2. DataGrid must have a structure which is bizarre. I think it should be optional

    3. There was no way to retrieve those fieldnames. I had to use string manipulation (sad-face). Maybe I’m wrong, hopefully someone can tell me how.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a French site that I want to parse, but am running into
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a small JavaScript validation script that validates inputs based on Regex. I
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from
I have been unable to fix a problem with Java Unicode and encoding. The
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I want to construct a data frame in an Rcpp function, but when I
I have thousands of HTML files to process using Groovy/Java and I need to
I have a reasonable size flat file database of text documents mostly saved in

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.