Hi Tony
So How do I get data value from a row that is selected then when I have a column with a dot Notation?
surely it must be possible
I tried your suggestion with another grid and what is alerted is not the data value but the actual make up for the cell contents
var cellValue = rowData[“documentDistributor.companyName”];
alert(cellValue)… shows…..
any further suggestion? :-)…
Hi
Is there a method to convert a row in the grid into the object that you mentioned in your post?.. It would make things easier as then i can then access the data I want with the dot notation as the name for a column.
Otherwise its impossible to access values from a column which has a dot notation as its name.
thanks Tony
Sometimes when I use console.log I get an error saying: console is not define. anyone know why?
However sometimes it does work.
When I console.log(rowData).. I get as follows for my columns..
genericLogDocument.description
Just an update… I have figured out why my grids are not calling their respective onCompleteTopics.
Its because all my grids are subscribed to the same topic. This means the first grid works fine but when subsequent grids which call the same topic are executed, they are infact using the save values as the first topic. I dont quite understand the whole topic thing but if I change the grid to subscribe to another topic, it works fine!
if this is the case is this my only solution(i.e: to ensure that all grids call a unquie topic?)
what happens if I subscribe to lots of topics…do i have topics floating around in the client? is there a performance hit?
thanks again
Hi Tony
Here are my 2 peices of code below, I am probably missing something or not returning correctly at all.
I tried that but the alert was: [object Object] 🙁
I tried doing this and when I alert(request.responseText) I get undefined. and also request.status gives me undefined.
I am new to all this so your help is appreciated.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top