Link to home
Start Free TrialLog in
Avatar of veranopage
veranopage

asked on

I am using jquery tablesorter, how can I use this script AND read and write the excel file. possibly using java?

I am using jquery tablesorter, how can I use this script AND read and write the excel file. possibly using java?

<!-- The above line is necessary to allow local JavaScript --!>
<!DOCTYPE html>
<html>





<head>
<title>Workable: All</title>
<link rel="stylesheet" href="res/default.css" type="text/css" media="print, projection, screen" />
<link rel="stylesheet" href="res/theme/style.css" type="text/css" media="print, projection, screen" />

<script type="text/javascript" src="res/jquery-1.7.2.js"></script>
<script type="text/javascript" src="res/csvToTable.js"></script>
<script type="text/javascript" src="res/tablesort.min.js"></script>
<script type="text/javascript" src="res/tablesort.ie.js"></script>
<script type="text/javascript">
	$(function() {
		$('#CSVTable').CSVToTable('data/Book1.csv', {  
			loadingImage: 'res/theme/loading.gif',  
			startLine: 1, 
			tableClass: "tablesorter",
			headers: ['agent_name_assigned', 'header2', 'header1']		
		}).bind("loadComplete",function() { 
			$('#CSVTable').find('TABLE').tablesorter({sortList:[[3,0],[9,0]], widgets: ['zebra']});
			$("#CSVTable .tablesorter tr").each(function(i,row) { 
				var column = (i>0)?"<td><input type='checkbox' class='removeRow' /></td>":"<th>&nbsp;</th>";
				$(this).prepend(column);
			});
			$("input:checkbox.removeRow").bind("click", function(){ 
				$(this).closest("tr").remove();
			});
		});
	});
</script>
</head>
<body>

</br>


<div id="CSVTable">

</div>


</body>
</html>

Open in new window

Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Java as in applet, java on the server or do you mean JavaScript?
If so this is a duplicate
Avatar of veranopage
veranopage

ASKER

No, I am referring to java applet use
what do you mean?
have you heard of yoplet?
I've requested that this question be closed as follows:

Accepted answer: 0 points for veranopage's comment #a38550474

for the following reason:

?
ASKER CERTIFIED SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I didnt select a grade prior.