Submitted by David_H on 2016/11/21 20:24
is it possible to implement something like this?  I don't need spreadsheet functionality but the one thing that would be incredible to have in tables is sorting capability.  Something tells me that might not be as easy as it sounds though .

Comments

Tables as a grid, or as a table in the HTML pane ?
 
 
Pierre_Admin
IQ Designer
 

I was referring to tables in the HTML pane.

Pierre_Admin

2016/11/22 11:07

In reply to by David_H

Hi David,
 
It is possible but it will only work in Browse mode (of course). You could though switch to Browse mode, do the sort and then copy / paste back in edit mode. It may not be quicker than using Excel.
 
But for the record, you need to do 2 things to your HTML code: 
 
1- Switch to code view
2- Add in the header section, before the STYLE tag (change the path to where the sorttable.js file is actually located on your PC):
<SCRIPT language=javascript src='C:\Users\PPL\Documents\Dropbox\InfoQube\Current\AppFiles\sorttable.js'></SCRIPT>
3- In the TABLE tag, add:
class=sortable
4- Switch back to Browse mode
5- Click on the first row (which acts as a header). Rows will sort.
 
HTH !
 
 
Pierre_Admin
IQ Designer