Grid - Changing the sort order on a column heading click

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

RalphMDS
Posts: 21
Joined: Wed Mar 25, 2009 1:24 pm
Location: New Jersey, U.S.A.

Grid - Changing the sort order on a column heading click

Post by RalphMDS »

If there a way to change the sort order of a grid on a column heading click. I see there is OnHeadClick, but I can't figure out how to get the particular heading that was clicked. Also OnHeadClick seems to fire as soon as the control is activated which seems strange.

Thanks,

Ralph
When your toolbox only contains a hammer, everything looks like a nail...
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Grid - Changing the sort order on a column heading click

Post by esgici »

Hi Ralph

Please look at one of my humble contributions.

I hope that help you.

Regards

--

Esgici
Viva INTERNATIONAL HMG :D
RalphMDS
Posts: 21
Joined: Wed Mar 25, 2009 1:24 pm
Location: New Jersey, U.S.A.

Re: Grid - Changing the sort order on a column heading click

Post by RalphMDS »

Dear Esgici,

Thank you so much. That was exactly what I was looking for.

Best regards,

Ralph
When your toolbox only contains a hammer, everything looks like a nail...
JALMAG
Posts: 265
Joined: Sun Jan 10, 2010 7:05 pm
DBs Used: DBF, MariaDB
Location: España - Spain

Re: Grid - Changing the sort order on a column heading click

Post by JALMAG »

esgici wrote:Hi Ralph

Please look at one of my humble contributions.

I hope that help you.

Regards

--

Esgici
Hello Esgici, what compiling?
Regards
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Grid - Changing the sort order on a column heading click

Post by esgici »

JALMAG wrote: Hello Esgici, what compiling?
Hi JALMAG

Sorry for inconvenience :(

My project became old ;)

- rename MAgenda.Hpj to MAgenda.Hbp
- open this .hbp with HMG-IDE
- add C:\hmg\HFCL\Include to Include paths of configuration tab of Project Browser
- add hfcl to additional libs of configuration tab of Project Browser

and press RUN button :)

That's all.

Regards, saludos

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
swapan
Posts: 242
Joined: Mon Mar 16, 2009 4:23 am
Location: Kolkata, India
Contact:

Re: Grid - Changing the sort order on a column heading click

Post by swapan »

esgici wrote:Hi Ralph

Please look at one of my humble contributions.

I hope that help you.

Regards

--

Esgici
Really very helpful .............. the incremental search is just performing perfect.
Thanks & Regards,
Swapan Das

http://www.swapandas.com/
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Grid - Changing the sort order on a column heading click

Post by esgici »

swapan wrote: Really very helpful .............. the incremental search is just performing perfect.
Thanks Swapan :)

--

Esgici
Viva INTERNATIONAL HMG :D
JALMAG
Posts: 265
Joined: Sun Jan 10, 2010 7:05 pm
DBs Used: DBF, MariaDB
Location: España - Spain

Re: Grid - Changing the sort order on a column heading click

Post by JALMAG »

esgici wrote:
JALMAG wrote: Hello Esgici, what compiling?
Hi JALMAG

Sorry for inconvenience :(

My project became old ;)

- rename MAgenda.Hpj to MAgenda.Hbp
- open this .hbp with HMG-IDE
- add C:\hmg\HFCL\Include to Include paths of configuration tab of Project Browser
- add hfcl to additional libs of configuration tab of Project Browser

and press RUN button :)

That's all.

Regards, saludos

--

Esgici

Thank you Esgici. :)
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Grid - Changing the sort order on a column heading click

Post by esgici »

JALMAG wrote: Thank you Esgici. :)
Thanks to you JALMAg, for your interest :)

Saludos, regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
Czarny_Pijar
Posts: 172
Joined: Thu Mar 18, 2010 11:31 pm
Location: 19.2341 E 50.2267 N

Re: Grid - Changing the sort order on a column heading click

Post by Czarny_Pijar »

esgici wrote:
JALMAG wrote: Hello Esgici, what compiling?
Hi JALMAG

Sorry for inconvenience :(

My project became old ;)
Bad news... With HMG ver.3.034 this happend again :?
Post Reply