Discussion:
add filter to grid
(too old to reply)
revathi
2008-10-29 10:21:02 UTC
Permalink
Hi
I need a help regarding the filter on grid.
while we are giving the ctrl+g on grid it shows the filter on grid.how can
we set that the fileter should display automatically,while open the form.
in some forms its displaying automatically.
Axel Kühn
2008-10-29 11:14:01 UTC
Permalink
Hi,

i have written an article about automatically activating the filter on grid
function on form startup.

Please take a look at:
http://blog.ak-home.net/PermaLink,guid,fd2880c2-3f25-4219-ac8d-0c7f71e1690e.aspx (german version)

http://translate.google.com/translate?client=tmpg&hl=de&u=http%3A%2F%2Fblog.ak-home.net%2FPermaLink%2Cguid%2Cfd2880c2-3f25-4219-ac8d-0c7f71e1690e.aspx&langpair=de|en (english version)

Hope that helps you.
--
Sincerely yours
Axel Kühn (visit my Dynamics AX blog at: http://blog.ak-home.net)
Post by revathi
Hi
I need a help regarding the filter on grid.
while we are giving the ctrl+g on grid it shows the filter on grid.how can
we set that the fileter should display automatically,while open the form.
in some forms its displaying automatically.
revathi
2008-10-29 12:13:02 UTC
Permalink
Hi Axel,
thanq very much for providing information.
I tried it with my code .
In my form i added some querybuild ranges to the data source.That ranges are
to be set enable or disable on certain conditions.if that range is activated
then only its working. if that range is not in active the filter is not shown
in grid.
can you help me in this.
my code in executequery is like this.
if(!DepartmentLock)
{
criteriaDepartmentCode.enabled(false);

criteriaDepartmentCode.value(EmplTable::findUserId(curuserid()).Dimension[1]);
}
else
{
criteriaDepartmentCode.value(sysQuery::value(Dimension.Text()));
criteriaDepartmentCode.enabled(true);
}
Post by Axel Kühn
Hi,
i have written an article about automatically activating the filter on grid
function on form startup.
http://blog.ak-home.net/PermaLink,guid,fd2880c2-3f25-4219-ac8d-0c7f71e1690e.aspx (german version)
http://translate.google.com/translate?client=tmpg&hl=de&u=http%3A%2F%2Fblog.ak-home.net%2FPermaLink%2Cguid%2Cfd2880c2-3f25-4219-ac8d-0c7f71e1690e.aspx&langpair=de|en (english version)
Hope that helps you.
--
Sincerely yours
Axel Kühn (visit my Dynamics AX blog at: http://blog.ak-home.net)
Post by revathi
Hi
I need a help regarding the filter on grid.
while we are giving the ctrl+g on grid it shows the filter on grid.how can
we set that the fileter should display automatically,while open the form.
in some forms its displaying automatically.
Axel Kühn
2008-10-29 13:24:09 UTC
Permalink
Hi,

i am not really sure that i understand where your problem is.

Do mean that the filter in grid is only shown when your query is enabled?
Or did you mean that the filter in grid is shown but there is no value?

What do you mean with "if that range is activated then only its working"....
--
Sincerely yours
Axel Kühn (visit my Dynamics AX blog at: http://blog.ak-home.net)
Post by revathi
Hi Axel,
thanq very much for providing information.
I tried it with my code .
In my form i added some querybuild ranges to the data source.That ranges are
to be set enable or disable on certain conditions.if that range is activated
then only its working. if that range is not in active the filter is not shown
in grid.
can you help me in this.
my code in executequery is like this.
if(!DepartmentLock)
{
criteriaDepartmentCode.enabled(false);
criteriaDepartmentCode.value(EmplTable::findUserId(curuserid()).Dimension[1]);
}
else
{
criteriaDepartmentCode.value(sysQuery::value(Dimension.Text()));
criteriaDepartmentCode.enabled(true);
}
Post by Axel Kühn
Hi,
i have written an article about automatically activating the filter on grid
function on form startup.
http://blog.ak-home.net/PermaLink,guid,fd2880c2-3f25-4219-ac8d-0c7f71e1690e.aspx (german version)
http://translate.google.com/translate?client=tmpg&hl=de&u=http%3A%2F%2Fblog.ak-home.net%2FPermaLink%2Cguid%2Cfd2880c2-3f25-4219-ac8d-0c7f71e1690e.aspx&langpair=de|en (english version)
Hope that helps you.
--
Sincerely yours
Axel Kühn (visit my Dynamics AX blog at: http://blog.ak-home.net)
Post by revathi
Hi
I need a help regarding the filter on grid.
while we are giving the ctrl+g on grid it shows the filter on grid.how can
we set that the fileter should display automatically,while open the form.
in some forms its displaying automatically.
nhel maala
2011-02-15 19:58:39 UTC
Permalink
Goto Administration>Users (select particular user - user has default with enabled filter any of the form) >User options>General tab?Grid>Filter by grid on by default then set it to [Check]
Post by revathi
Hi
I need a help regarding the filter on grid.
while we are giving the ctrl+g on grid it shows the filter on grid.how can
we set that the fileter should display automatically,while open the form.
in some forms its displaying automatically.
Post by Axel Kühn
Hi,
i have written an article about automatically activating the filter on grid
function on form startup.
http://blog.ak-home.net/PermaLink,guid,fd2880c2-3f25-4219-ac8d-0c7f71e1690e.aspx (german version)
http://translate.google.com/translate?client=tmpg&hl=de&u=http%3A%2F%2Fblog.ak-home.net%2FPermaLink%2Cguid%2Cfd2880c2-3f25-4219-ac8d-0c7f71e1690e.aspx&langpair=de|en (english version)
Hope that helps you.
--
Sincerely yours
Axel K??hn (visit my Dynamics AX blog at: http://blog.ak-home.net)
Post by revathi
Hi Axel,
thanq very much for providing information.
I tried it with my code .
In my form i added some querybuild ranges to the data source.That ranges are
to be set enable or disable on certain conditions.if that range is activated
then only its working. if that range is not in active the filter is not shown
in grid.
can you help me in this.
my code in executequery is like this.
if(!DepartmentLock)
{
criteriaDepartmentCode.enabled(false);
criteriaDepartmentCode.value(EmplTable::findUserId(curuserid()).Dimension[1]);
}
else
{
criteriaDepartmentCode.value(sysQuery::value(Dimension.Text()));
criteriaDepartmentCode.enabled(true);
}
Post by Axel Kühn
Hi,
i am not really sure that i understand where your problem is.
Do mean that the filter in grid is only shown when your query is enabled?
Or did you mean that the filter in grid is shown but there is no value?
What do you mean with "if that range is activated then only its working"....
--
Sincerely yours
Axel K??hn (visit my Dynamics AX blog at: http://blog.ak-home.net)
Submitted via EggHeadCafe
ASP.NET Base64 Image Encoding via the Data: protocol
http://www.eggheadcafe.com/tutorials/aspnet/70f76817-e6d2-415d-8849-849d8c6c5385/aspnet-base64-image-encoding-via-the-data-protocol.aspx
Loading...