View Full Version : [CLOSED] IDProperty: set multiple key fields

Jan 23, 2013, 8:29 AM
one question:
is it possible to define a multiple key in IDProperty, for instance field1+field2 ?
if yes, can you provide a sample?

thanks in advance

<ext:Store ID="Store1" runat="server" OnSubmitData="Store1_Submit" PageSize="20">
<ext:Model ID="Model1" runat="server" IDProperty="field1">
<ext:ModelField Name="Desc" />
<ext:ModelField Name="field1" />
<ext:ModelField Name="field2" />
<ext:ModelField Name="attr1" />
<ext:ModelField Name="attr2" />
<ext:ModelField Name="UserMod" />
<ext:ModelField Name="DateMod" />

Jan 23, 2013, 11:08 AM
Hi @tanky65,

Unfortunately, there is no functionality to set up multiple fields for IDProperty.

But, fortunately, you can organize an additional field where you can put field1+field2 on a server side.

Jan 23, 2013, 12:03 PM
.. oh yes!!
sure, thanks