Comments on: SharePoint: Extending the DVWP – Part 33: Modifying Total and Subtotal Row Layouts in DVWP http://www.endusersharepoint.com/2010/09/02/sharepoint-extending-the-dvwp-%e2%80%93-part-33-modifying-total-and-subtotal-row-layouts-in-dvwp/ No GeekSpeak on SharePoint 2007 WSS and MOSS Mon, 27 Dec 2010 21:17:12 -0500 http://wordpress.org/?v=2.8.6 hourly 1 By: Jim Bob Howard http://www.endusersharepoint.com/2010/09/02/sharepoint-extending-the-dvwp-%e2%80%93-part-33-modifying-total-and-subtotal-row-layouts-in-dvwp/comment-page-1/#comment-111679 Jim Bob Howard Fri, 12 Nov 2010 18:21:37 +0000 http://www.endusersharepoint.com/?p=9510#comment-111679 Dave, Great questions! Let's bounce it over to Stump the Panel http://www.EndUserSharePoint.com/STP so we can walk through the code to see where the issue is on your page. Blessings, Jim Bob Dave,

Great questions! Let’s bounce it over to Stump the Panel http://www.EndUserSharePoint.com/STP so we can walk through the code to see where the issue is on your page.

Blessings,
Jim Bob

]]>
By: EndUserSharePoint http://www.endusersharepoint.com/2010/09/02/sharepoint-extending-the-dvwp-%e2%80%93-part-33-modifying-total-and-subtotal-row-layouts-in-dvwp/comment-page-1/#comment-111677 EndUserSharePoint Fri, 12 Nov 2010 18:08:20 +0000 http://www.endusersharepoint.com/?p=9510#comment-111677 Dave - Keep an eye out over the next few weeks. We're putting the entire series together as an eBook, along with a couple of "Bonus" chapters. If you're subscribed to our newsletter, you'll get 50% off. -- Mark Dave – Keep an eye out over the next few weeks. We’re putting the entire series together as an eBook, along with a couple of “Bonus” chapters. If you’re subscribed to our newsletter, you’ll get 50% off. — Mark

]]>
By: Dave Schafer http://www.endusersharepoint.com/2010/09/02/sharepoint-extending-the-dvwp-%e2%80%93-part-33-modifying-total-and-subtotal-row-layouts-in-dvwp/comment-page-1/#comment-111676 Dave Schafer Fri, 12 Nov 2010 17:59:54 +0000 http://www.endusersharepoint.com/?p=9510#comment-111676 I ran across this post in a google search.... you better believe I'll be going back to part 1 of the post and reading all the way through. Thanks for this post and I'm looking forward to reading through the series. I'm having an issue with grouping In a multi-item view where I've grouped a task list (displayed in a data view web part) by priority. I have "show group header" checked and the group is expanded by default. I have no options checked in the advanced grouping options. The group header is repeating for each task so I might have a header for "Normal Priority" displayed 20 times if there are 20 tasks with a normal priority instead of them all being grouped under one "normal priority" header. Below this multi-view I have inserted a joined subview. I have added grouping to the subview as well (which displays) but I want the subview collapsed by default. Choosing this option seems to have no effect in the joined subview. The option works fine in the multi-item view. Any ideas? I ran across this post in a google search…. you better believe I’ll be going back to part 1 of the post and reading all the way through. Thanks for this post and I’m looking forward to reading through the series.

I’m having an issue with grouping In a multi-item view where I’ve grouped a task list (displayed in a data view web part) by priority. I have “show group header” checked and the group is expanded by default. I have no options checked in the advanced grouping options. The group header is repeating for each task so I might have a header for “Normal Priority” displayed 20 times if there are 20 tasks with a normal priority instead of them all being grouped under one “normal priority” header.

Below this multi-view I have inserted a joined subview. I have added grouping to the subview as well (which displays) but I want the subview collapsed by default. Choosing this option seems to have no effect in the joined subview. The option works fine in the multi-item view. Any ideas?

]]>
By: Jim Bob Howard http://www.endusersharepoint.com/2010/09/02/sharepoint-extending-the-dvwp-%e2%80%93-part-33-modifying-total-and-subtotal-row-layouts-in-dvwp/comment-page-1/#comment-111106 Jim Bob Howard Tue, 09 Nov 2010 16:34:00 +0000 http://www.endusersharepoint.com/?p=9510#comment-111106 Probably because @Hours isn't a number that can summed well. Try putting your format-number() inside the sum() rather than outside. e.g. sum(format-number($nodeset/@Hours)) Make sure that Hours actually looks like a number, meaning it can't have commas in it if your Hours are over 1000. Alternately, it may be that your sum() is what is going over 1000 and are then having trouble being number-formatted. ...does that help? Blessings, Jim Bob Probably because @Hours isn’t a number that can summed well. Try putting your format-number() inside the sum() rather than outside.

e.g. sum(format-number($nodeset/@Hours))

Make sure that Hours actually looks like a number, meaning it can’t have commas in it if your Hours are over 1000. Alternately, it may be that your sum() is what is going over 1000 and are then having trouble being number-formatted.

…does that help?

Blessings,
Jim Bob

]]>
By: Sarunas http://www.endusersharepoint.com/2010/09/02/sharepoint-extending-the-dvwp-%e2%80%93-part-33-modifying-total-and-subtotal-row-layouts-in-dvwp/comment-page-1/#comment-111102 Sarunas Tue, 09 Nov 2010 15:50:21 +0000 http://www.endusersharepoint.com/?p=9510#comment-111102 Hi thank you for great post! I got problem with "sum(" "format-number(count($nodeset/@Hours" gives count result, but "format-number(sum($nodeset/@Hours" returns empty value what might be the reason? /sarunas Hi

thank you for great post!

I got problem with “sum(”

“format-number(count($nodeset/@Hours” gives count result,
but “format-number(sum($nodeset/@Hours” returns empty value

what might be the reason?

/sarunas

]]>
By: Jim Bob Howard http://www.endusersharepoint.com/2010/09/02/sharepoint-extending-the-dvwp-%e2%80%93-part-33-modifying-total-and-subtotal-row-layouts-in-dvwp/comment-page-1/#comment-109076 Jim Bob Howard Wed, 27 Oct 2010 12:57:26 +0000 http://www.endusersharepoint.com/?p=9510#comment-109076 Dear Dean, In my example, I don't give the user the choice of changing how the data is grouped. So, let's take a look at your situation and come up with a solution to do what you need. I have created a new forum entry on STP (http://www.endusersharepoint.com/STP/viewtopic.php?f=9&t=2090) so we can talk it out. Blessings, Jim Bob Dear Dean,

In my example, I don’t give the user the choice of changing how the data is grouped. So, let’s take a look at your situation and come up with a solution to do what you need.

I have created a new forum entry on STP (http://www.endusersharepoint.com/STP/viewtopic.php?f=9&t=2090) so we can talk it out.

Blessings,
Jim Bob

]]>
By: Dean http://www.endusersharepoint.com/2010/09/02/sharepoint-extending-the-dvwp-%e2%80%93-part-33-modifying-total-and-subtotal-row-layouts-in-dvwp/comment-page-1/#comment-109062 Dean Wed, 27 Oct 2010 09:55:04 +0000 http://www.endusersharepoint.com/?p=9510#comment-109062 In the group header i need to reformat the heading when the user chooses to group by Date or Percent complete. Could you please tell us how we can reformat these values so that they look like they do in the grid, i.e, 3% and 12/10/2010, instead of the default 0.300000 and 12/10/2010 12:00:00. Thanks Dean In the group header i need to reformat the heading when the user chooses to group by Date or Percent complete. Could you please tell us how we can reformat these values so that they look like they do in the grid, i.e, 3% and 12/10/2010, instead of the default 0.300000 and 12/10/2010 12:00:00.
Thanks
Dean

]]>
By: SharePoint: Extending the DVWP – Part 35: Putting it All Together | EndUserSharePoint.com http://www.endusersharepoint.com/2010/09/02/sharepoint-extending-the-dvwp-%e2%80%93-part-33-modifying-total-and-subtotal-row-layouts-in-dvwp/comment-page-1/#comment-99661 SharePoint: Extending the DVWP – Part 35: Putting it All Together | EndUserSharePoint.com Tue, 14 Sep 2010 16:10:26 +0000 http://www.endusersharepoint.com/?p=9510#comment-99661 [...] to make it look even nicer, we’ll massage the way total and subtotal rows look and replace some of our form action links with [...] [...] to make it look even nicer, we’ll massage the way total and subtotal rows look and replace some of our form action links with [...]

]]>
By: Jim Bob Howard http://www.endusersharepoint.com/2010/09/02/sharepoint-extending-the-dvwp-%e2%80%93-part-33-modifying-total-and-subtotal-row-layouts-in-dvwp/comment-page-1/#comment-97876 Jim Bob Howard Fri, 03 Sep 2010 11:59:50 +0000 http://www.endusersharepoint.com/?p=9510#comment-97876 Thanks, Stacy! Blessings, Jim Bob Thanks, Stacy!

Blessings,
Jim Bob

]]>
By: SharePoint Consultant http://www.endusersharepoint.com/2010/09/02/sharepoint-extending-the-dvwp-%e2%80%93-part-33-modifying-total-and-subtotal-row-layouts-in-dvwp/comment-page-1/#comment-97795 SharePoint Consultant Thu, 02 Sep 2010 16:06:49 +0000 http://www.endusersharepoint.com/?p=9510#comment-97795 A lot of nice detail! Excellent post. Stacy SharePoint Developer A lot of nice detail! Excellent post.

Stacy
SharePoint Developer

]]>