Show/Hide Details + Jeditable

Show/Hide Details + Jeditable

scriderpsdscriderpsd Posts: 6Questions: 0Answers: 0
edited February 2011 in General
I have implemented Datatables using server-side processing (PHP + MySQL) for a recent project at the district I work at and I must say it is fantastic and very well-documented. I'm fairly new to both JavaScript and jQuery and so far this has been pretty intuitive. Thank you for all the hard work you put into developing it and for offering it open-source.

Currently I am using the "show and hide details about a particular record" initialization and the "editable rows (with jEditable)" API. Both are working nicely but I am racking my brain on how to combine the two. Essentially, I need to make the details editable once fnOpen has been invoked.

Here is the code I am currently using which allows for editing of the datables elements but not those in the expandable .

[code]

var oTable;

/* Formating function for row details */
function fnFormatDetails ( nTr )
{
var aData = oTable.fnGetData( nTr );
var sOut = '';
sOut += 'Student ID:'+aData[2]+'';
sOut += 'Name:'+aData[3]+' '+aData[4]+'
'+aData[7]+'
'+aData[8]+', '+aData[9]+' '+aData[10]+'';
sOut += ' 

Replies

  • carlotorcarlotor Posts: 5Questions: 0Answers: 0
    edited March 2011
    hi scott

    I am implementing show/hide details record
This discussion has been closed.