task. You need to edit this
formatting you had asked for. I've done a similar kind of work for my client
My Request: Please rate posts in Microsoft Newsgroups and Forums genuinely.
This would encourage helpful volunteers.
Post by Sundar Narasimansasi kanth paritala,
You don't need to create custom controls using API's. You can create
DataViewWeb Part with the help of SharePoint Desinger 2007 (If you are using
WSS 3.0/MOSS 2007) / MS Front Page 2003 (if you are using WSS 2.0/ SPS 2003).
Please download the document from the following url
http://www.sharepointcustomization.com/resources/whitepapers/webpartdocs/dataview_wp.doc
This has step-by-step instruction fo how to create DataView WebPart to
render the list items with XSLT Formatting.
Once you've created the DataViewWebPart, you can manipulate the XSLT to
render the way you want the formatting ((( for example if value ranges 1-10 i
have to render red color if value 11-20 i have to render green....))
This should answer your question
--
----
Sundar Narasiman,
http://dotnetbuzz.spaces.live.com/
Post by SirCodesALotOn Oct 15, 7:20 am, sasi kanth paritala <sasi kanth
You could also do this on the client side after the page is rendered
<script>
function addColor()
{
//that big long number can be found in the source of the page
var wp_table = document.getElementById("{313FACC2-BA49-442A-B345-
F7C207C43CC0}-{6215639C-079D-4898-8C63-334AC30882E9}");
var switchColumn = 1;
if (wp_table != null)
{
var tbody = wp_table.childNodes[0];
var trs = tbody.childNodes;
for (var i=1;i<trs.length;i++)
{
var tdVal = trs[i].childNodes[switchColumn].innerHTML;
switch (tdVal)
{
case "1" : trs[i].style.background = "#00FF99";
break;
case "2" : trs[i].style.background = "#FFF99";
break;
}
}
}
}
window.onload = addColor();
</script>
I havent tested this code, but you get the idea. Add this in a content
editor webpart.
Submitted via EggHeadCafe - Software Developer Portal of Choice
Freeze Row Group Header in WPF DataGrid
http://www.eggheadcafe.com/tutorials/aspnet/98891749-f30a-4cbe-b711-dcaaee52bef3/freeze-row-group-header-in-wpf-datagrid.aspx