I want to filter child table data on select parent table form field.
This is my Item Field and Child Table. I want to filter the child table. If I select item03 from Items field, child table will filters only with item03 data. How can I do it? Anyone please help me
js script for parent field items, loop through child field filter out(hide) the rows with condition item_code != items?
@szufisher , can you please be more specific?
it is kind of idea how to implement, just for your reference.
@Cross_X in case you are still seeking the the solution, here the relevant solution from this forum
In my case, there is a text field to search the records
var search = cur_frm.doc.search_by_name.toLowerCase().replace(/ /g, '');
for (var i = 0; i < table.length; i++) {
uid = table[i].unique_identity_code.toLowerCase().replace(/ /g, '');
var condition = uid.includes(search)
if (condition == true) {
$("[data-name='" + table[i].name + "']").show()
} else {
$("[data-name='" + table…