I want to apply custom function on grid column. I tried to apply from adminhtml/ui_component/CustomModule_order_lis.xml also tried to modified Collection.php .
Like below image, I am getting order status (ready_dispatch, etc) from table column, now want apply CheckOrderStatus() function to change css, color, text & other activity on basis of order status.
$this->CheckOrderStatus('ready_dispatch');
<column name="seller_order_confirm">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="dataType" xsi:type="string">text</item>
<item name="sorting" xsi:type="string">asc</item>
<item name="label" xsi:type="string" translate="true">Seller Order Status</item>
<item name="sortOrder" xsi:type="number">13</item>
</item>
</argument>
</column>
I have already search about this but not found anything regrading same. Hope this question not duplicate. Thanks in Advance.