Field with textarea and button causing issues with search
Field with textarea and button causing issues with search
Link to test case:
Here is my test case live.datatables.net/zoxoraqe/4/edit
The first issue.
If I enter code in the textarea and save it to the database, it is not searchable by datatables. I am missing a component to update dataTables to inform it that the element has been updated, but I am not sure how to do that.
If you enter a value in one of the textareas and search for it, it will not be found. However, any of the values that were there when the table was loaded will be found as DT already knows about them.
The second issue
When using the searchBuilder to search on the Notes field. Lets Say I want to search for "equals Random 1". I cannot do that. It finds the button in the table element also and grabs the text from that element. I need some way to tell the search engine to only look at the textarea object.
Answers
You have still not fixed your searchBuilder configuration, explained by Kevin in your other thread, https://datatables.net/forums/discussion/70123/unable-to-get-searchbuilder-popup-to-work#latest
Adding further problems on top of unfinished business is not a great idea.
It would be worth looking at Editor - as that has a
textarea
type, and would do that syncing for you.Colin
@Tangerine: Thank you, that has been resolved
@Colin: I am not sure purchasing a solution is a viable option at this point in time
I did find this example, I will float it by the higher ups and see if it is a viable solution
https://datatables.net/examples/api/form.html