Let's say I have a class of 30 students and want generate every possible way in which they can be partitioned into groups of 5 (order is irrelevant).
I know how to find all the combinations of students to form one group individually (http://www.merriampark.com/comb.htm). By using that iterator and some recursion, I can find PERMUTATIONS...
Hi,
Is there a way to attach metadata directly to a grouping element () in an svg file? I couldn't find anything about that in the specification or elsewhere on the web, so I assume it's not possible. Perhaps there are other ways to attach element specific metadata within the svg file...
What I try to do is to create a map and attach i...
Hi,
I have an Access2003 form where I wanted to group several controls together and change visibility programatically, though VBA code.
Is this possible? I do know that I can group items through Format -> Group, but if I do that, how do I refer the the entire group in my code?
Thank you
...
I need to create a provider Name group which is based on any or all of three fields that contain service provider codes. Each Service Provider Code links to its own SP_Program_Location table to optain that providers Provider ID which is then linked to a provider table to obtain the Providers Name. If no providers have been assigned for...
i am trying to execute awk script below on solaris but it's giving error like
awk: syntax error near line 3
awk: bailing out near line 3
where is error can you help me to fix it ?
Input file:
$ cat details.txt
Manager1|sw1
Manager3|sw5
Manager1|sw4
Manager2|sw9
Manager2|sw12
Manager1|sw2
Manager1|sw0
Output required:
Group the sim...
When using the following NumberFormat:
NumberFormat amountFormat = NumberFormat
.getNumberInstance(I18N.getThreadLocale());
amountFormat.setMaximumFractionDigits(2);
amountFormat.setMinimumFractionDigits(2);
I get the following results when parsing via
System.out.println(amountFormat.parse(value));
10,50 => 1050
10,5 => 105
...
I have the following table "GroupPriority":
Id Group Priority
1 1 0
2 2 0
3 3 0
4 2 1
5 1 1
6 2 2
7 3 1
I would like to group these on "Group", order them by "Priority" and then get the one in each "Group" with the highest Pri...
I have a report grouped by Class1, Class2, Class3, ShortDesc, CreateDate.
It looks like this:
Class1 Class2 Class3 <- This is GroupHeader1 (I did it this, way to save space)
ShortDesc - test1 <- This is GroupHeader4
27.07.2009 10:00 <- This is GroupHeader5
Ticket-ID AssignedGroup
1 <- this is Detail
2
3
27.07.2009 ...
I've got a table of temperature samples over time from several sources and I want to find the minimum, maximum, and average temperatures across all sources at set time intervals. At first glance this is easily done like so:
SELECT MIN(temp), MAX(temp), AVG(temp) FROM samples GROUP BY time;
However, things become much more complicated ...
I am in iPhone development since last 3 months.
Usually, While inserting a view Controller, I just right click on Classes & add new group.
& Within that group I just add my new view controller's .h, .m & .xib file.
Before my question, let's see what I have done in my project.
My questions are something like this
Is it in proper w...
I am trying to create a small server type application and have a question regarding organizing data with dicts. Right now I am grouping the data using the connection socket (mainly to verify where it's coming from and for sending data back out). Something like this: connected[socket] = account_data. Basically, each connected person will ...
How to group xml element values
XDocument.Descandants("Customer").GroupBy(c=>c.Element("ServiceId"));
This is not working.
Is there any way to group this?
...
I have a bunch of data that looks a little like this:
<item>
<colour>Red</colour>
<date_created>2009-10-10 12:01:55</date_created>
<date_sold>2009-10-20 22:32:12</date_sold>
</item>
<item>
<colour>Blue</colour>
<date_created>2009-11-01 13:21:00</date_created>
<date_sold>2009-11-21 12:32:12</date_sold>
</item>
<item>
<colou...
Hi there,
I have a radgrid on an MVC view which is client side binding to a JsonResult controller. I need to display the returned json data in a grouped format but cant find anything on the radgrid that does that. Ive checked out the documentation and there seems to be no mention of clientside grouping on radgrid.
Can you please advise...
Hi.
I have a LINQ query which returns a set of rows. The structure is:
NAME, col1, col2, col3, col4
name1 1 null null null
name1 null 1 null null
name1 null null 1 1
As a result I want to have one row containing
name1 1 1 1 1
So I want to group those results by name and merge (sum?) th...
In Sharepoint (WSS 3.0) I have a list with a custom view that groups some items.
A
item 1
item 2
B
item 3
item 4
C
item 5
item 6
How can I specify a custom ordering of the group-headings? I would prefer to have something like C,A,B as example.
Is there a way to do so through CAML?
...
I have pairs of items in an PHP array. Example:
<?php
$elements = array(
'tiger'=>'lion',
'car'=>'bike',
'lion'=>'zoo',
'truck'=>'plane'
);
?>
Now I want to combine these items so that all items which are connected in any way go to one group. Continuation of the example above:
<?php
$groups = array(
0=>array('tiger', 'lion', 'zo...
I am using the control library from http://code.google.com/p/gong-wpf-dragdrop/successfully for my listbox dragging operation.But there is an issue when i drop an item to a listbox with a group style.I have traced that in the DropInfo class the line
UiElement item=itemscontrol.GetItemContainerAt(e.GetPosition(itemscontrol));
always r...
I have a datatable like below, the Sales team can have any numbers (in the below example only two columns sales1and sales2)
FactoryName MachineName StartTime Sales1 Sales2
Fact 1 M1 2009-11-06T00:00:00+05:30 1 2
Fact 1 M2 2009-11-06T00:00:00+05:30 1 2
Fact 2 M1 2009-...
I am using a PagedCollectionView in Silverlight 3 to group items in a datagrid. I want to detect when the group headers are clicked but after 6 hours still cannot find any way to do this.
(So that when a collapsed header is clicked I can dynamically load the group's content)
The datagrid is populated like so:
PagedCollectionView coll...