We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46950
    • 86 Posts
    In Form Tabs I described it as '{"field":"image","caption":"Image","inputTV":"image"}' and in Grid Columns I put '{"header": "Image", "sortable": "false", "dataIndex": "image", "renderer": "this.renderImage"}' (I found this variant in a lesson in the Net). On the panel to add new records I expected to see a way to choose pictures but it looks like an ordinary text field. What do I do wrong?

    This question has been answered by paulp. See the first response.

    • discuss.answer
      • 22840
      • 1,572 Posts
      {"field":"image","caption":"Image","inputTVtype":"image"},
      
      
      
      {"header": "Image", "sortable": "false", "dataIndex": "image","renderer": "this.renderImage"}
      
        • 46950
        • 86 Posts
        Quote from: paulp at Aug 13, 2014, 06:56 AM
        {"field":"image","caption":"Image","inputTVtype":"image"},
        
        
        
        {"header": "Image", "sortable": "false", "dataIndex": "image","renderer": "this.renderImage"}
        
        Thanks, now it works! smiley
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          If you say "inputTV" then you need to have an actual TV of the name specified. Saying "inputTVtype" has MIGX use its own internal input types.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org