Jump to content

Tool for simple table output with filter


byenary

Recommended Posts

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>
Link to comment
Share on other sites

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 :D

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.