Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
920
Row Expanding Error When Primary Key consist SPACE ' ' or FORWARD SLASH '/'
posted

Hi there,

I'm using latest release '12.2.20122.2176' and getting an error when trying to expand a row whose Primary Key contains SPACE ' ' or FORWARD SLASH '/' but it works in all other cases. An error shows as : "Unable to get property _injectGrid of undefined or null reference"

I'm binding the Grid in javascript using JSON data and below are shots of my data source: (MaterialRef is my Primary key and row in bold works fine whereas other two don't)

{"MaterialRef":"0/63MM","MaterialType":"2","Description":"0/63MM MATERIAL ","MaterialClassRef":"D02","WaterDiscount":"0.00","MixStrength":"","MixType":"","Certification":"","Inactive":false,"UserCreated":"Caroline Menzies","UserModified":"Bill Ramsay","DateTimeCreated":"23/08/2011","DateTimeModified":"04/04/2013","UnitSurcharge":false,"Items":[{"MaterialRef":"0/63MM","UnitRef":"QUAD","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUAR","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUAY","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUBB","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUBE","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUBG","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUBH","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUCL","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUCR","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUDU","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUGN","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUKI","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUKK","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUMW","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUPC","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUSL","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUSN","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUTL","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUTN","MaterialRight":false},{"MaterialRef":"0/63MM","UnitRef":"QUWH","MaterialRight":false}]},

{"MaterialRef":"0-16MMGRAV","MaterialType":"2","Description":"0-16MM GRAVELs","MaterialClassRef":"D15","WaterDiscount":"0.00","MixStrength":"","MixType":"","Certification":"","Inactive":false,"UserCreated":"Caroline Menzies","UserModified":"Bill Ramsay","DateTimeCreated":"26/04/2012","DateTimeModified":"04/04/2013","UnitSurcharge":false,"Items":[{"MaterialRef":"0-16MMGRAV","UnitRef":"QUAD","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUAR","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUAY","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUBB","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUBE","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUBG","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUBH","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUCL","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUCR","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUDU","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUGN","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUKI","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUKK","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUMW","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUPC","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUSL","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUSN","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUTL","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUTN","MaterialRight":false},{"MaterialRef":"0-16MMGRAV","UnitRef":"QUWH","MaterialRight":false}]}

{"MaterialRef":"1 TONNE AR","MaterialType":"2","Description":"1 TONNE ROCK ","MaterialClassRef":"D03","WaterDiscount":"0.00","MixStrength":"","MixType":"","Certification":"","Inactive":true,"UserCreated":"Caroline Menzies","UserModified":"Bill Ramsay","DateTimeCreated":"10/11/2008","DateTimeModified":"17/06/2012","UnitSurcharge":false,"Items":[{"MaterialRef":"1 TONNE AR","UnitRef":"QUAD","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUAR","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUAY","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUBB","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUBE","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUBG","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUBH","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUCL","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUCR","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUDU","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUGN","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUKI","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUKK","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUMW","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUPC","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUSL","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUSN","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUTL","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUTN","MaterialRight":false},{"MaterialRef":"1 TONNE AR","UnitRef":"QUWH","MaterialRight":false}]}

Please advise any help?

Regards,

Jasdeep

Parents Reply Children
No Data