My previous question was this and I want to uncheck checked row if user selects a row that has \'Stock Available=null or 0\'. Now my jquery code is:
$(docume
About to uncheck the Row if is it has 'Stock Available=null or 0, I assume that you are using the bootstrap-table by wenzhixin and that your data has a unique id like you mentioned row.id in your question
My Approach goes like this: 1. Define a unique ID of your table when you are loading the Data 2. oncheck : use row to check if the Stock_Available is null or 0 3. if Yes use the method
$("#table").bootstrapTable("uncheckBy", { field: "Stock_Available", values: [row.id] })
Here is the solution http://jsfiddle.net/pacitwizere/xjvp8xq0/5/