Dear all,

I have gone through Tutorial 39: How to use Row & Cell Level Grid Attributes. I understand this is done through query. However, what is required is facility for conditional coloring through API's. Users will have their own choice of colors and we should be able to meet their choice. As the application we are developing is to be shipped as a finished product, we should be able to change color at runtime when we install the system in their office.

George.

asked 07 Jan '14, 00:47

grajan777's gravatar image

grajan777
1011238
accept rate: 10%

Helloooo! Somebody is listening?

My request is for API for all features in your Tutorial 39. The features implemented are great an I love them. But where are the APIs. Please do something. I am waiting.

regards,

George.

(24 Mar '14, 03:10) grajan777

Hi George,

You can use api_datasource.setColumnValue to set attributes. Simply set the value of the column you used in the Grid to change the attribute (fontSizeColumn, fontColorColumn, backgroundColorColumn etc…)

Please see Tutorial 39 for details and examples.

link

answered 24 Mar '14, 03:28

Yalim's gravatar image

Yalim ♦♦
2.8k5
accept rate: 21%

edited 24 Mar '14, 11:16

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5

Thanks Yalim. God bless you. Let me try this.

George

(24 Mar '14, 03:31) grajan777

Hi Yalim,

Sorry. I could not get as to how I can use api_datasource.setColumnValue to use grid column attribute using fontSizeColumn, fontColorColumn etc. I checked the API as well but could not find. Can you please give me a little sample code?

Regards.

George.

(24 Mar '14, 10:25) grajan777

Hi George, the tutorial you've referenced in your question already has code samples. The tutorial actually answers your question completely.

(24 Mar '14, 11:16) Yalim Gerger ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2
×1

Asked: 07 Jan '14, 00:47

Seen: 869 times

Last updated: 24 Mar '14, 11:16


© Copyright Gerger 2017