views:

90

answers:

1

Hi,

im creating a own plugin for wordpress where i have to view a set of data.

now i want to use the wordpress default table view to display my data, and give some functionality to it

default table: default table view

is there a way to use this table view for my own plugins (some classes or functions) or do i have to create something similar by myself?

A: 

I don't believe there is a built "WordPress table view" function. I know someone who uses this same layout in one of his plugins and he simply copied the source code and than made edits where necessary for generating the tables cells etc..

hsatterwhite
hm. it would be great if we could use such things like this table, validation and other things for our own plugins. i'll take a look at some source codes.
choise
I definitely agree with you, but hijacking the source code on this one shouldn't be too hard. You could really make a straight up copy and than use simple loop for the table cells.
hsatterwhite
yeah, hijacked the table now ;) if nobody has a better solution i'll accept your answer.
choise
Sounds good. Honestly this is a pretty decent and useable plugin idea, but a straight copy and paste with a simple loop is an easy solution. Post a screen of how it comes out!
hsatterwhite
first quick try looks something like this: http://dl.getdropbox.com/u/6357394/Bild%202.png
choise
That looks great for a "first, quick try" ;-)
hsatterwhite