Results 1 to 3 of 3

Thread: Char store not working when my store field name has a combination of dot and space

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2012

    Default Char store not working when my store field name has a combination of dot and space

    I have faced a strange issue when creating bar chart.

    when i set the store for my chart eg:

    var dataStore = new{
    fields: ["field1 .", "field2"],
    data: [
    {"field1 ." : "data1", "field2" : "data2"}

    if the field name contains both a dot and space char then the store is not working. If its only on of these char it works fine.
    So does any one knows a work around for this.

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL


    The dot can easily make it seem like it's an object and property. Workaround is to only use alpha/numeric chars in the field names, may need to use the mapping config on the field.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:

  3. #3
    Sencha Premium Member's Avatar
    Join Date
    Nov 2012
    Sacramento, CA


    I'm not sure if there is something similar to this in the Touch framework, but in ExtJS you can set the value of useSimpleAccessors in the reader to true. This will allow the JSON key to be interpreted as a string rather than an object reference.

    Hopefully there is a setting like that in the reader for the Touch framework!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts