3.0.4

How to change the text "No data found." when a Grid is empty

Hi

Can some body help me on this. I have a dynamic data grid , some times it gets no data from the database. I want to change this text some thing else like "No matched records available." and also I want to align it center according to the Grid width.

Thanks in advance
Inforlinx
inforlinx
June 16,
You need to change the text "No data Found" in ActiveWidgets/runtime/lib/grid.js to "No matched records available". This can be done with Notepad, if you have nothing better. Do a search for the text using CTRL/F. That part of what you want to do is quite simple.
Roy Cosway
June 16,
Thanks Roy for pointing out the problem in my question. I am not looking to change some thing in grid.js. I want to do it dynamically by calling some method in AW.

inforlinx
inforlinx
June 16,
Alex can you enlighten us on this. Is it possible in V1 to change the text dynamically and if so how?

Thanks in advance
Steve L
March 9,
In version 1 you can do this with:

function gridStatus(obj,message){obj.setStatusProperty("text",function(){return message;});obj.refresh();}
Eric Aarts
March 9,
Thanks Eric , it works fine.

Hartelijk dank
Steve L
March 9,

This topic is archived.

See also:


Back to support forum