#1 2016-08-27 12:14:13

tin
Member
Registered: 2016-03-20
Posts: 161

How to change backgroud row click whent click row in report control?

I mean when we click or touch to select row in report control.How to change row background color to tell user that you already click.

Offline

#2 2016-08-27 16:02:52

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: How to change backgroud row click whent click row in report control?

Hello tin,

Probably in a "grid" Report we can achieve it in a more or less easy way, but, in a "table" Report certainly the things can be complicated. So I made some enhancements in the Report control in order to "mark" their rows with certain CSS classes and identifiers. This is now refered in the Report's control help.

r34hTlv.gif

Additionally I add to the Report control a new variable named "Index", available inside the "RowClick" event. With the help of the refered CSS stuff and this variable we can "activate" or "deactivate" rows as you can see in the new included "Report13" application sample. Take a look and tell me what you do think about tin.

Offline

#3 2016-08-27 18:52:30

tin
Member
Registered: 2016-03-20
Posts: 161

Re: How to change backgroud row click whent click row in report control?

that what I want!Thanks again David smile
(It work.Already test it)

Offline

#4 2016-08-27 20:55:53

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: How to change backgroud row click whent click row in report control?

Hello!

tin wrote:

that what I want!Thanks again David smile
(It work.Already test it)

Always thanks you tin!

Offline

#5 2016-08-28 12:26:43

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: How to change backgroud row click whent click row in report control?

Hello to all!

* Add the new Report14 sample, which show us how to use the recently added [Report.Index] variable in order to alter / change / update the selected / clicked / taped record in the Report. Also the Report13 sample has been a little modified in order to show us how to use our own CSS classes for the active/deactive Report's rows.

I7t72DZ.gif

HVnKTbD.gif

Hope they are useful! smile

Offline

#6 2016-08-28 13:35:53

tin
Member
Registered: 2016-03-20
Posts: 161

Re: How to change backgroud row click whent click row in report control?

It very useful!!Thanks.

Offline

#7 2016-08-28 13:39:24

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: How to change backgroud row click whent click row in report control?

Hello!

tin wrote:

It very useful!!Thanks.

You're welcome tin! smile

Offline

#8 2016-08-30 04:59:52

reg4app
Member
Registered: 2016-05-16
Posts: 147

Re: How to change backgroud row click whent click row in report control?

just to ask
in report sample 6
how to change the panel-heading  color or panel-body background color?


Joshua.Y

Offline

#9 2016-08-30 08:15:15

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: How to change backgroud row click whent click row in report control?

Hello Joshua,

We can use the the panel related CSS classes of the Bootstrap CSS framework and maybe our own custom CSS stuff. For example, to vary the aspect of your refered sample "panels" we can use the "panel-warning" CSS class instead "panel-info" CSS classs.

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.