Hi I have two properties on by data source that is used in combination of third to calculate a single value using a rowTemplate then displayed as a single column. The three properties that are needed for the calculations are defined in the columns features to be able to access the properties inside the template, with the two non-displaying properties flagged as hidden: true. When the page loads the two hidden columns are visible until the JSON data is loaded and rendered although they were flagged as hidden.
Hi Christoff,It seems that things have gone a bit tangled up in here :(I spoke with Tsvetelina about another thread covering the same scenario (Hidden column header showing up as undefined when it should be hidden) Basically, I've submitted development issue (with ID #113972) so that there can be a clean fix for this situation.Until then, as an alternative to Tsvetelina's suggestion (which is also good, but as you mentioned - it cannot be applied to all scenarios - such as the one you're in), I can recommend also setting a width of 0 pixels for each of the hidden columns.Seeing as how the upcoming Service Release is knocking at our doorstep, I'm guessing that the fix for this development issue will be present in the S.R. after this one.Best Regards,Borislav
Hi christoffelleroux I have to reproduce the issue on my own and see what is causing it. I dont know how you have defined the columns and what are the properties. Can you please attach the modified sample?
Hi Tsvetelina
I tried your suggestion by removing the autoGenerateColumns property. Using the sample I provided it does indeed solve the issue indicated. J But, I’m binding to data sources with allot of properties and having to go and define a column for each with a hidden flag is very, very painful, hence the reason for the autoGenerateColumns false. After I got all the properties in there on one of my grids… it renders without having any rows, with my calculated column not showing at all, but the paging seems to working just fine J
Regards
Christoff
Hello Christoff,
I used your sample code in connection with another forum post referring it.
http://forums.infragistics.com/forums/p/69968/354602.aspx
I was able to reproduce the issue with the RTM version of v12.1(only on the first load of the page)
In order to get rid of this behavior you should remove the option
autoGenerateColumns: false,
in the declaration of the grid.
Hope this helps.
Hello christoffellerouxPlease let me know if you need any further assistance with this issue.