Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
335
multi-part key in data used in grid - how to set the primaryKey
posted

At times, the data that I am showing in a grid comes from a result set with a 2 part key.

For example, I might be showing total qty on hand by color and size.

This allows my user to group or filter the data to provide the info that they are looking for.

But I also need to be able to select rows so that I can create a subsequent query with just the sets of colors+sizes selected.

I believe I need a primaryKey for this and for several other grid features.

How do I set the primary key to a combination of fields?