:: Forum >>
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
Thursday, June 16, 2005
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
Thursday, June 16, 2005
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
Thursday, June 16, 2005
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
Thursday, March 9, 2006
In version 1 you can do this with:
function gridStatus(obj,message){obj.setStatusProperty("text",function(){return message;});obj.refresh();}
Eric Aarts
Thursday, March 9, 2006
Thanks Eric , it works fine.
Hartelijk dank
Steve L
Thursday, March 9, 2006
This topic is archived.
Back to support forum
Forum search