|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
[flex_india:11774] advanceddatagrid removing the sorting incos from the column headerHello devs, I need to remove the sorting icons from all my columns headers of the advanced data grid since they are taking too much space from the column header. I do not need multiple sorting for my grid so if removing icons disables that I am fine with that. I tried to make " sortableColumns='false' " in the advanceddatagrid but it only stop showing the icon and the number but does not free the occupied space. Please Help.... Regards.... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@... To unsubscribe from this group, send email to flex_india-unsubscribe@... For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
[flex_india:11804] Re: advanceddatagrid removing the sorting incos from the column headerSet sortExpertMode="true" -Sameer On Jul 14, 1:28 pm, "Vivian Richard" <kanps...@...> wrote: > Hello devs, > > I need to remove the sorting icons from all my columns headers of > the advanced data grid since they are taking too much space from > the column header. I do not need multiple sorting for my grid so > if removing icons disables that I am fine with that. I tried to make > " sortableColumns='false' " in the advanceddatagrid but it only > stop showing the icon and the number but does not free the > occupied space. Please Help.... > > Regards.... You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@... To unsubscribe from this group, send email to flex_india-unsubscribe@... For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
[flex_india:11806] Re: advanceddatagrid removing the sorting incos from the column headerThanks a lot. On Mon, Jul 14, 2008 at 8:43 AM, Sameer <prosameer@...> wrote:
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@... To unsubscribe from this group, send email to flex_india-unsubscribe@... For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
[flex_india:11818] Re: advanceddatagrid removing the sorting incos from the column headerHi, I am using AdvancedDataGrid and removed multicolumn sort feature to support single column sort by setting sortExpertMode = "true". But i am unable to remove the number which comes in the column header. How can i achieve this?
Thanks in advance.
On 7/14/08, Vivian Richard <kanpsack@...> wrote:
|
|
|
[flex_india:12228] Re: advanceddatagrid removing the sorting incos from the column headerTo remove the sort column numbers: 1. Add the following class to your project: <code> import mx.controls.advancedDataGridClasses.AdvancedDataGridSortItemRenderer; import mx.core.UITextField; public class MySortItemRenderer extends AdvancedDataGridSortItemRenderer { public function MySortItemRenderer() { } override protected function childrenCreated():void { super.childrenCreated(); // Get reference to sort number text field var sortOrderTextField:UITextField = this.getChildAt(0) as UITextField; if (sortOrderTextField != null) { // Hide sort number text field sortOrderTextField.includeInLayout = false; sortOrderTextField.visible = false; } } } </code> 2. Add the following property to your AdvancedDataGrid declaration: sortItemRenderer="MySortItemRenderer" Hope this helps Joe On Jul 14, 10:58 pm, "vinitha pascal" <vinithapas...@...> wrote: > Hi, > > I am using AdvancedDataGrid and removed multicolumn sort feature to support > single column sort by setting sortExpertMode = "true". But i am unable to > remove the number which comes in the column header. How can i achieve this? > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@... To unsubscribe from this group, send email to flex_india-unsubscribe@... For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: [flex_india:12228] Re: advanceddatagrid removing the sorting incos from the column headerHey Jones,
Thanks for your helpful and clean code. Here i have a issue, i can get rid of the number which comes in column header, but the down arrow is still showing up in the columnheader. is there any way to make that down arrow invisble.? when i used SortExpertMode="true", its working fine for rest of the column headers but not for the column which i'm applying custom sorting. Can anyone help me out this issue?? Thanks in Advance. Shravan P.
|
| Free embeddable forum powered by Nabble | Forum Help |