Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

How to set property type for a custom field for use in JsGrid (PropTypeId is not inherited correctly and cannot be defined anywhere)?

$
0
0

Hello,

I created a custom field type inheriting from SPFieldLookup.

I added JSLink for custom client-side rendering.

All of that works, including the custom editing control in the JsGrid (quick-edit alias Datasheet-View).

The problem arises, when multiple values shall be entered and saved in the grid.

SharePoint assigns my field a PropTypeId of "String" (with multipleValues = true though).

The original Lookup the field inherits from has a PropType of Lookup of course, but this isn't inherited.

I am only able to save one value in this field, never multiple.

Is there any solution to this yet? I couldn't find anything related anywhere.

Regards,

Matt


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>