This is a migrated thread and some comments may be shown as answers.

column alignment issue while column is removed

6 Answers 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Venkatakrishna
Top achievements
Rank 1
Venkatakrishna asked on 03 Apr 2012, 11:35 AM
Hello,

we have been facing grid column alignment issue for long time.

while column is removed, it creates white spaces. but It got adjusted properly if I click "Ungroup" context menu.

Please refer the screen shot for further details.

Thanks
Venkat

6 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 03 Apr 2012, 11:58 AM
Hello Venkat,

You can use the following workaround with handling the ColumnHidden client-side event and add the following code as shown below.
JS:
function onColumnHidden(sender, args) {
        sender.get_masterTableView().get_element().style.tableLayout = "auto";
        sender.get_masterTableViewHeader().get_element().style.tableLayout = "auto";
        window.setTimeout(function () {
            sender.get_masterTableViewHeader().get_element().style.tableLayout = "fixed";
            sender.get_masterTableView().get_element().style.tableLayout = "fixed";
        }, 1)
    }
aspx:
<ClientSettings>
     <ClientEvents OnColumnHidden="onColumnHidden" />
</ClientSettings>

Thanks,
Princy.
0
Venkatakrishna
Top achievements
Rank 1
answered on 03 Apr 2012, 01:56 PM
It just works fine for Firefox but not working in IE. Please refer the screen shot.

I appreciate your efforts !

Thanks
Venkat
0
Venkatakrishna
Top achievements
Rank 1
answered on 03 Apr 2012, 02:19 PM
Most of our users are using IE, so it will be great if you can find a solution to fix.

Thanks
Venkat
0
Galin
Telerik team
answered on 09 Apr 2012, 11:45 AM
Hi Venkatakrishna,

It is an already known problem and is reported to our developers. They investigate this issue and research on its possible resolution.

Thank you for your understanding and please excuse us for the inconvenience this might cause you.

All the best,
Galin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Venkatakrishna
Top achievements
Rank 1
answered on 09 Apr 2012, 11:49 AM
Thank you for your response.

I hope the fix should be easy one, it will be great if you can send me the date where I can expect the solution.

Regards
Venkat
0
Galin
Telerik team
answered on 12 Apr 2012, 10:15 AM
Hi Venkatakrishna,

I am afraid it is not possible to give you exact estimate when the issue will be addressed. It is reported to our developers and they are working on it. Perhaps the problem will be resolved in the next main release (Q2 2012).

Kind regards,
Galin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Venkatakrishna
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Venkatakrishna
Top achievements
Rank 1
Galin
Telerik team
Share this question
or