How to put empty values in data parametr

How to put empty values in data parametr

inajafinajaf Posts: 10Questions: 6Answers: 0

Guys, how to call empty fields with data parameters? I got an error for the empty parameter. I need to call some fields as empty on my view page

Error:

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 14,086Questions: 25Answers: 3,322
    Answer ✓

    Set columns.data to null and use defaultContent to set the default value. Similar to this example in the first column.

    Kevin

  • inajafinajaf Posts: 10Questions: 6Answers: 0

    Hi @kthorngren , I set null for fields, but receive in the front object, please see the screenshot

  • colincolin Posts: 12,877Questions: 0Answers: 2,198

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • kthorngrenkthorngren Posts: 14,086Questions: 25Answers: 3,322

    I set null for fields, but receive in the front object,

    Did you set defaultContent to an empty string as shown in the example I linked?

    Kevin

Sign In or Register to comment.