Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Missing FormItemType type in smartctlient.d.ts 12.0p

    Good morning.

    I am missing "header" type in *ts definition. According to this example: https://www.smartclient.com/smartcli...nFieldBindingV
    it is valid FormItemType


    #2
    Also "button" form item type is missing. It'd be nice of you guys to add it so that we don't need to edit smartclient.d.ts and then merge it with new version every upgrade.

    As always, keep up good work!
    Łukasz

    Comment


      #3
      We may look at changes here, since there are samples that use some of these.

      But note that types set in this way are really just shortcuts to the official mechanism, item.editorType - you can just set item.editorType: "HeaderItem" or "ButtonItem", instead of setting type.

      Comment


        #4
        Originally posted by Isomorphic View Post
        We may look at changes here, since there are samples that use some of these.

        But note that types set in this way are really just shortcuts to the official mechanism, item.editorType - you can just set item.editorType: "HeaderItem" or "ButtonItem", instead of setting type.
        I did not know that. Thank You.

        Comment


          #5
          Hello Again,

          I think another item that needs to be addressed in smartclient.d.ts is PickList interface declaration. Specifically:
          Code:
           
            pickListProperties?:ListGrid;
          which should be:
          Code:
            
            pickListProperties?: Partial<ListGrid>;
          With current form, this example:
          https://www.smartclient.com/smartcli...oFilterRelated
          can't be compiled because of partial pickListProperties specified in example.

          As always keep up good work guys!

          Comment

          Working...
          X