Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

197
Views
ExtJS - Sync with a repeating ID

I have a special use case where data come from a single table column containing a JSON. I'm loading the contents of this JSON into a ExtJS store and after changing or adding new items to the store I have to sync with the server.

The front end send a JSON array like this: {"data":[{"name":"Tony","age":"10","id":"users.1"}]}.

ExtJS sends the generated internal ID, is it possible to every time I sync I always send the same ID, lets say 10 instead of the generated ID?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can set a property in which ExtJS will send it's own generated id, and ignore it on the server side, and put your desired value (10) in the id field.

To do so, add this to your Model definition:

Ext.define('MyModel', {
     clientIdProperty: 'clientId',
});
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!