User Profile & Activity

Member
Page
of 4

I did forget to precise that I'm using the grid without setting the height so that it automatically fits with the content.

I tried to remove the height (153 px in your sample) but I can't replicate the problem.

 

All I can see you is the first image of the discussion.

 

Best Regards,


Nicolas

Hello,

 

This is because there are too many records.

 

Maybe can you try to set

SelectCommand="SELECT * FROM [Customers] where [Region] = 'SP'" 

in the access datasource, and retry to delete some records. You will see the display error.

I didn't modify your sample beacause there was an error (see picture) when I tried to delete some records.

Nicolas

Hello,

 

The webgrid is inside an ASP panel. It has nothing special and the layout settings are the following :

<LayoutSettings PagingMode="ClassicPaging" PagingLoadMode="Custom" AllowDelete="Yes" AllowEdit="Yes" EditOnClick="true" AllowBatchUpdate="true">
            <BatchUpdateSettings AllowReviewChanges="true" NotifyOnLostFocus="false" />
        </LayoutSettings>

It only happens when I delete a row.

 

Nicolas

Hello Glenn,

 

Do you have any news regarding this bug ?

 

I tried some things with your sample, BatchUpdate_Enterprise.


We also have an issue with the paging. With the height 393px, the paging size (10) is too large. This result with a vertical scrollbar

 

    <ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="393px" UseDefaultStyle="True"
        Width="100%" DataMember="Customers" DataSourceID="ISDataSource1" DefaultStyleMode="Elegant"
        ViewStateStorage="None" StateRestorationLevel="Low" onbatchupdate="WebGrid1_BatchUpdate">
        

I had to manually reset the height to 400px in order to "delete" this vertical scrollbar.

 

When I don't specify any height fo the grid, it is even worse than 393 px : I scroll more to get the last rows.

 

Maybe you can explain this to the developers with you bug report.

 

Best Regards,


Nicolas

Hello Glenn,


Thank you for your reply.

I just increased the for loop and had replicated the issue.

You can also see the 2 scrollbars in the picture I added in zip file.

I noticed one thing a little weird : when you resize one column to the extrem right, and then resize to the left, a little 4th column appears. I guess this is causing the bad behaviour? because the width of this 4th column match with the width we can scroll ...

I thank you in advance for your prompt answer

Best Regards,
Nicolas

 

Posted: February 2, 2010 3:20 AM

Hello Handy,

 

Great, I didn't know about RestoreRowSelection. It works fine now.

Thank you very much,

 

Nicolas

Posted: February 1, 2010 11:10 AM

Another issue that I just found :

When I check 2 rows, go to the next page, select 2 other rows, only the one of the second page are memorized.

I tried both with custom and automatic PagingLoagMode and PagingMode is ClassicPaging.

I thank you in advance for your answer.

Best Regards

Nicolas

Posted: February 1, 2010 10:53 AM

Hello Handy,

Thank you for your answer.

In fact, no matter for the checkbox sorting.

 

I'm just wondering how disable this feature when I click in the header...

AllowSorting="No" but it does the sorting!

Do you have a solution?

Nicolas

Hello,

thank you for your answer.

I think "Self reference" isn't applicable to my sketch. I don't really have one parent and children with the same data (columns) to display. In other words, I can't display one parent with all columns populated and 2 children with only 3 columns filled.

The possibility is to display all the data of second and third row without span, but it's not optimal.

 

Should you have any other suggestion it will be welcome !

 

Hello,

 

Here is a sample of what we want (only Excel 2007 format is allowed to upload, so I did a screenshot...)

2nd and 3rd row have the same parent, so we display parent 30250 (and date and 2 last columns) only once.


Best Regards,

All times are GMT -5. The time now is 12:31 PM.
Previous Next