User Profile & Activity

Madhavan G Member
Page
of 12
I am able to disable the row headers.It is working in IE 9.But in firefox the headers are not getting disabled.It is rendering in enabled mode.
Is there any check i have to do to support in Firefox?

Hi Hendrik,

Thanks for the reply.

I have tried in a simple page.I have attached the page which i tried.

1.First Loaded the grid with Customers,Orders and Orderdetails.

2.Expanded the Customer Tree and Selected ANATR.Find the screenshot FirstStepSelectedCheckbox.png.

3.Clicked on Sort on CustomerId Column.The checkboxes in the rows got retainded except the column header. Find the screenshot SecondStepSortonCustomerid.png

4.Next Expanded the child level of the same row for the order id 10308 see the screenshot ThirdStepSelectedSecondChild.png

5.Clicked on Sort on OrderId Column the checkboxes are not retainde.please see the screenshot

FourthStepClickedonSortonOrderId.png.

Please advice.

Regards,

Madhavan

 

Hi Hendrik,

I tried the option of setting the RestoreExpandedChildRows to true and RestoreRowSelection property to All.

The Childrow expanded in the Grid is retained,but the checkboxes clicked are not retained.

Can you please advice what could be the reason?

 

Regards,

madhavan

The child table diabling is happening only for the first record.

And the Root table disabling is happening for all the records.

Please see the screenshot attached.

The probelm what i am facing is i am able to disable the second level child row header by this way.

Ho can i loop through all the child tables and disable the header column?

I had alredy tried this option.But the GetElement() is throwing some exception.

Is there any other alternative?

I found a solution for the Root table.I am able to disable the RootTable Header by setting grid.RootTable.Columns[0].GetElement().childNodes[0].childNodes[0].disabled = true;

But How van i achieve this for the child tables header colums?

Posted: October 11, 2011 4:12 AM
Thank you for the solution.it worked.
Posted: October 10, 2011 6:34 AM
But if i set the e.Row.Checked=True in the Initialize Row Method,the GetCheckedRows() method will return me the correct count even if it is disabled.
But if i do the Row.Checked=true in the client side,The GetCheckedRows() methods returning zero.

Please give me how to get the parent row collection and get the checkbox status in client side script.
When i tried this way  it shows checked status as false.

Hi Hendrik,

We are also using Webgrid 7 only.

We are using IE 9.

Are you checking in IE9.?

Regards,

Madhavan

 

 

All times are GMT -5. The time now is 1:51 AM.
Previous Next