Jump to content

Table Widget


Sting

Recommended Posts

I just built my first Widget.  There are things I still have to do like build use flags to reduce the functionality.

The headers at the top are optional and when present are fixed in place like one would expect.

If no row has an image the first column starts at the left edge of the box.

The columns are divided evenly from the space left over from the images and the scrollbar.  Text is truncated if it doesn't fit in the column space.

The rows are optionally colored with an even and an odd background color.

Rows can also have an  optional background color that is present when the row is not selected.  The background color has a higher priority then the odd/even color.

The table is optimized for flicker by managing modifications, similar to the technique used in X windows, at least how it was when I worked on it many years ago.

I still have some work on image background with the odd/even color,  but I think that might be an implementer issue.

 

TableTwo.jpgTableOne.jpg

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...