How can I make a filter for null values of my order ID
<column name="order_id">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="bodyTmpl" xsi:type="string">ui/grid/cells/html</item>
<item name="filter" xsi:type="string">text</item>
<item name="editor" xsi:type="array">
<item name="editorType" xsi:type="string">text</item>
<item name="validation" xsi:type="array">
<item name="required-entry" xsi:type="boolean">false</item>
</item>
</item>
<item name="label" xsi:type="string" translate="true">Order ID</item>
</item>
</argument>
</column>
If a enter NULL in my filtering it should just show all row where Order ID is NULL or Blank
-
Did you make this work ?Attila Naghi– Attila Naghi2021年04月03日 20:31:11 +00:00Commented Apr 3, 2021 at 20:31
1 Answer 1
This can be done easily, first make you sure if there are no values then column has null value instead of empty. Then when use filter it will wo
answered May 21, 2020 at 9:09
ravichandra
3841 gold badge4 silver badges13 bronze badges
-
dafuq? Is something missing on the comment?gabrieliri– gabrieliri2020年06月25日 02:22:46 +00:00Commented Jun 25, 2020 at 2:22
default