How to put empty values in data parametr

How to put empty values in data parametr

inajafinajaf Posts: 13Questions: 8Answers: 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: 21,261Questions: 26Answers: 4,934
    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: 13Questions: 8Answers: 0

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

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    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: 21,261Questions: 26Answers: 4,934

    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.