When I set up a RadioButtonList it creates a table layout for it and I don't want this... how do I get rid of it?
It might be a duplicate but I've searched and haven't manage to find a question like this here.
You'll have to change the RepeatLayout property and setting it to Flow will probably yield the result you are searching for.
Take a look at all the other RepeatLayout options here:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.repeatlayout.aspx
Kinda silly the 4.0 framework still defaults the ugly table variant, I mostly revert to the UnorderedList variant.
Related
I am looking for an equivalent of a grid control in Rebol, to display some table data.
I came across this script: face-grid.r
...and its associated demo: face-grid-demo.r
This seems to be an excellent start. Does anyone know if there is some active and/or newer version of this grid, or something similar?
Depending what you need exactly.
Brett's datagrid is a bit basic. For example, it does not handle scrollers by itself.
Henrik has done a list-view with tons of features. Maybe it can be a choice for you :
list-view.
But there are also different list styles part of the VID extension kit from the same author.
Here is the list documentation.
All are for Rebol2.
I've got a databound series of predefined shapes (Path with Data="" set) which each trigger the same event when clicked.
I'd like to programmatically access the mini form of the Path.Data property at runtime to be able to persist it.
In this case I could just name the elements and on click check which one, however I'd prefer a more generic solution.
There seem to be some WPF workarounds but I haven't seen any for WP7.
Does anyone know if this is possible? and if so, how to do it?
Thanks.
Looking in to if and how this may be possible I came across http://www.eightyeightpercentnerd.dreamhosters.com/?p=40 and even though it's quite old it explains how a paths data/geometry is parsed in Siverlight.
It leads me to think that you may be better off trying to find a different approach to solving your problem. :(
I am trying to extend the DataGrid to allow headers for different groups of rows. However, I cannot figure out which method to extend from DataGrid that would allow me to accomplish this.
I do not want the headers to be included in the dataProvider, only the rows. I want to specify indexes to insert the headers at using a property of the custom datagrid.
Here is a quick photoshop showing what I am trying to do:
Example http://www.maclema.com/groupheaders.png
Is there any custom component already built that will do this?
If not, does anyone know how I would go about doing this?
Thanks,
Matt
You might want to check out this component:
http://code.google.com/p/flex-spreadsheet/
Another solution that I just found to this type of problem is the following
here is the demo:
http://blogs.adobe.com/aharui/SplitColumns/dg.swf
here is the discussion:
http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html
Does anyone know of any plugins/extentions to the YUI Datatable that will allow column sorting similar to how a sharepoint grid works.
I'm looking for something that works/looks a bit like this from sharepoint (click on the clumn header, and a drop down appears with options to filter the datatable based on the data in that column):
Sharepoint grid column filter http://drop.io/download/public/eoq8cfcggp0bkw8wejlk/fb8b74641fc499f205222c7bc128644fef046a80/16a2e690-486e-012b-de36-00127994f632/08a51310-85e6-012c-5ac8-fc75480d82c3/v2/thumbnail_large
Anyone have any ideas?
Thanks.
I do not believe that anything like this currently exists. Ascending/Descending sort is supported out of the box, but I assume you know that.
Filtering can be done (there are examples here and here), but not with the UI you want. You should probably tell your boss that the cost involved in your writing this feature to satisfy his whim is probably not worth the benefit, and you should find another UI paradigm that's easier to implement.
That said, if you do decide to subclass the DataTable to do something like this, please do submit your changes back to YUI so that everyone can benefit from them
Can't you just use context menu like this:
http://developer.yahoo.com/yui/examples/datatable/dt_contextmenu.html
Is it bad design to use table tags when displaying forms in html?
The accepted answer to this question in short: YES...
...but what about something like this:
I can't really think of different & better solution. The example is from SurveyMonkey and uses tables too.
Is it still bad design to use table tags for such likert type questions?
This type of question leads more to opinions than to hard and fast facts, but I would say that in this case it's definitely OK to use tables -- you're wanting a tabular display of information.
Just use the table tag and don't let people make you feel guilty for it :-)
It's not bad to use tables per se. It's just bad to use them to layout your entire site using infinitely nested tables and invisible images for space.
This is not very hard with some help.
You might look into some of the grid-based css libraries our there.
Yahoo Grids
Blueprint
960 Grid System
What everyone says is "you should only use tables for tabular data". So ... what does that mean?
Here's my criterion for when something actually is tabular data: when you can only know what something is/does by reference to its coordinates, its position in relation to column and row headers.
So, in the case above, what is the function of the ninth radio button?
There's no way of knowing what it is unless you look left to the kind of skill it refers to and look up to the kind of level you're claiming. Therefore, this is tabular data.
From the point of view of accessibility, IMHO, it would make more sense laid out as a table, with appropriate th tags etc. As Ambrose said, the coordinates of the radio buttons give them contextual meaning.
You could lay it out without a table, and maybe make sense of it using labels, titles and other devices, but the only thing you would really achieve would be to demonstrate your css-fu.