cur_frm.add_fetch for table


im wodnering is there any easy way to do like cur_frm.add_fetch but for table?


Can you clarify: Are you asking about add fetch in a child table link, or to fetch a table from another doc?

Please provide specifics on what you’re trying to do…

what i want to achieve is there is a doctype with A as table (let say that was doctype B) then i have doctype C that pull data from doctype A… but the table B has doctype D with some field is same with doctype B…
how i supposed to pull it?

Write an Ajax call. Either use a custom server side function or use frappe.model.with_doc, get the whole doc and then loop through the table on client side