byenary Posted February 5, 2014 Share Posted February 5, 2014 Hi Got a db with 80K records, need to show a table with the content and providing 2 filters on this table. Now I could just program this the easy way but I assume something exists to this out of the box ? Thx Quote Link to comment Share on other sites More sharing options...
SalientAnimal Posted February 5, 2014 Share Posted February 5, 2014 Here is an example of some javascript that I am using on one of my pages. <script language="javascript" type="text/javascript"> var table2_Props = { col_0: "select", col_1: "select", display_all_text: " [Show all] ", rows_counter: true, loader: true, loader_text: "Filtering data...", col_operation: { id: ['scheduled'], col: [2], operation: ['sum'], write_method: ["innerHTML","setValue"] }, rows_always_visible: [grabTag(grabEBI('background-image'),"tr").length] }; setFilterGrid( "background-image",table2_Props ); </script> Quote Link to comment Share on other sites More sharing options...
requinix Posted February 5, 2014 Share Posted February 5, 2014 Yep. You bet. There are tons of scripts out there that are specifically written to match your database tables, show the content exactly the way you want, and most of them will even apply these "filter" things you speak of with no additional work needed on your part! Amazing, huh? All you have to do is search for "php script that does everything I want" and take your pick Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.