composite keys

composite keys

hminhduchminhduc Posts: 19Questions: 11Answers: 1

sorry I've just search on forum but not clear, Im using editor 2 and how can idSrc with composite keys. This table key have 2 fields together.
Thank!

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 56,888Questions: 1Answers: 9,042 Site admin
    Answer ✓

    On the client-side you need to have a single field that contains the two values. The combination of the key fields should be done at the server-side. See this example.

    Are you using our PHP, .NET or Node.js libraries at the server-side?

    Allan

  • hminhduchminhduc Posts: 19Questions: 11Answers: 1

    Thankyou this example is what i need. Im using Ruby on Rails on server site, and manual create return data.
    With RoR how can attach Editor server site for auto data?

  • allanallan Posts: 56,888Questions: 1Answers: 9,042 Site admin

    We don't provide Ruby libraries for Editor I'm afraid, and I'm not well versed in Ruby, so I can't really comment on that aspect of things. However, I can help with the client / server interface and what Editor / DataTables expects. Is that what you mean? If so, the client / server interface for Editor is documented here and I can answer any questions you might have about it.

    Allan

Sign In or Register to comment.