Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ez on Dec 23, 2009 03:16
open dhtmlx forum
Why dhtmlXGridObject.prototype.printView uses getValue instead getTitle?

...for cell value?

This causes several problems when using custom cell formating, so getTitle is beter solution here
Answer posted by dhxSupport on Dec 23, 2009 07:12
If getContent() method is defined, printView() used getContent() to print values. You can redefine necessary cell code so getContent() with return getTitle() method:
this.getContent = this.getTitle;