I am using Jquery Datatable Editable. I wanted to know if it is possible to make a cell editable based on a condition.
For example if my data is rendered this way,
Key text
1 Help
2 Choice
3 Edit
Key and Text are 2 columns, I want to make the cell with value choice only editable and the cells with value Help and Edit remain readonly. Is it possible to achieve this via Datatable...
User Profile
Collapse
-
Datatable editable - make cell editable based on a condition
-
thanks so much !! I have used bulk update instead of update which take string and its working fine :) -
not only that any small query is not executed in that update method.can u please suggest me to use which method from hibernate template class?Leave a comment:
-
The UserId is present in Tuser class which have reference in tusermodule classLeave a comment:
-
how to update the value of particular cell in table using HQL
...Code:public void saveSinglePercentage(String singlePassPercentage, String userName) throws ApplicationException { int singlePercent = Integer.valueOf(singlePassPercentage); String[] params = { PASS_SPERCENT,USER_ID_PARAM }; Object[] values = {singlePassPercentage}; System.out.println(singlePercent); System.out.println(userName); getHibernateTemplate().update("update -
can u please suggest me how to do same with makeeditable. i tried i can enter value on click of cell but it is not getting updated?Leave a comment:
-
i have used same code which is present in link .but i am not able to call action class and update data baseLeave a comment:
-
hi i have used jquery jeditable inline editing to just click on value and i am able to edit it.but i am not able to update in data base.do u have any suggestions?...Code:<script type="text/javascript"> $(document).ready( function() { var id = -1;//simulation of id $("#table_id").dataTable({ bJQueryUI: true, "sPaginationType": "full_numbers"Leave a comment:
-
-
how to edit a value in column on click of it in jsp page
...Code:<%@ page language="java" contentType="text/html; <s:if test="tUserModuleList.size() != 0"> <h2>List of Users assigned to the Modules</h2> <table id="table_id" class="display"> <thead> <tr> <th>UserName</th>
Leave a comment:
-
how to edit a value of a cell inside table in jsp
I have jsp page which displays a table with passPercentage colum.i have to directly edit the value in passPercentage by clicking on it.how to do that?
No activity results to display
Show More
Leave a comment: