Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
sorting and gridline problems
posted

I enabled sorting on a WebDataGrid that displays data (I set the DataSource in the code behind in the Page Load event) and the data would disappear. I saw in another post that I should not set the DataSource only for Not IsPostback() so I moved it outside the if and now I have data after requesting a sort but it seems to be one click behind. The first click on a column causes no change. The second click suddenly reveals the sorting I asked for in the previous click. I also have a problem with this because I want to handle saving myself as there are some business rules that apply to a column of data across all rows, not just each single row. If I always reload the original data, won't I lose any of the user's changes?

I also wanted gridlines to appear in the grid and after not finding a property for that I changed ig_dataGrid.css, I saw lines appear in the page design of Visual Studio 2008 and thought all was well. However, when I look at the page in the browser, there are no gridlines. I then tried to change the background-color from white to another color and that didn't work either. I'm making  my changes in these items: tbody.igg_ItemIE6 tr td; tbody.igg_Item>tr>td; tbody tr.igg_AltIE6 td and tbody>tr.igg_Alt>td

I'm using version 9.2 in case that makes a difference. What am I missing here?