Govindscript / flexigrid

Automatically exported from code.google.com/p/flexigrid
0 stars 0 forks source link

Basic html table with Search and Sort functionality #77

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi! 
I have made some little modification to give the possibilities to search and 
sort your flexigrid even if it is generated form a simple html table.

Modified elements:
+ searchbox find all match with search string in all the cells, so the column 
filter is hidden
+ The reload button execute the reset search function if you have an html table.
+ the sort function is taken from the forum.

Original issue reported on code.google.com by marco.di...@gmail.com on 18 Sep 2011 at 4:10

Attachments:

GoogleCodeExporter commented 9 years ago
Excellent!  However I have tried applying this to a static table and although 
the table formats OK I don't get sorting.  Clearly I'm doing something wrong.  
Would love a simple example!

Original comment by se...@greymatter.com on 20 Sep 2011 at 4:26

GoogleCodeExporter commented 9 years ago
Hi if you can wait a few days i am finishing some other functionalities and 
debugging.
However if you use a col model it should work. 

colModel:[{display:'Name',name:'Name',width:250,sortable:true,align:'left'},
{display:'Published',name:'Published',width:100,sortable:true,align:'center'},
{display:'ID',name:'ID',width:100,sortable:true,align:'center'}]

Original comment by marco.di...@gmail.com on 20 Sep 2011 at 7:42

GoogleCodeExporter commented 9 years ago
Here you can find some correction to precedent attachment and i have added the 
pagination functionality for html plain tables.

Original comment by m.digiov...@startechsrl.eu on 21 Sep 2011 at 7:15

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks man :) Needed this! Very well done.

Original comment by tythe...@gmail.com on 31 Oct 2011 at 10:54

GoogleCodeExporter commented 9 years ago
Thanks!! Great initiative!! :)

Original comment by garreter...@gmail.com on 9 Apr 2012 at 4:52

GoogleCodeExporter commented 9 years ago
Really good work with thus dude!

Original comment by james.ro...@gmail.com on 14 Apr 2012 at 5:03

GoogleCodeExporter commented 9 years ago
Does anyone happen to have a live example of this I could take a look at? I am 
a bit of a jQuery novice and when i attempt to use the patched version of the 
Flexigrid my table  just loses all styling. Was there a CSS change that needs 
to happen to support the patch? Thanks for any help!

Original comment by rob.dipi...@gmail.com on 7 Aug 2012 at 1:44