mikesmith

Forum Replies Created

Viewing 8 replies - 16 through 23 (of 23 total)
  • Author
    Replies
  • in reply to: gtting cell data on selectRow.. #93763
    mikesmith
    Participant

    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

    in reply to: gtting cell data on selectRow.. #93729
    mikesmith
    Participant

    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? :-)…

    in reply to: Dot Notation for column name.. how to get value issue? #93535
    mikesmith
    Participant

    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

    in reply to: gtting cell data on selectRow.. #93484
    mikesmith
    Participant

    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

    mikesmith
    Participant

    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

    mikesmith
    Participant

    Hi Tony

    Here are my 2 peices of code below, I am probably missing something or not returning correctly at all.

    in reply to: How do I access JSON string in jsp? #92512
    mikesmith
    Participant

    I tried that but the alert was: [object Object] 🙁

    in reply to: How do I access JSON string in jsp? #92450
    mikesmith
    Participant

    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.

Viewing 8 replies - 16 through 23 (of 23 total)

Stay connected with us in your favorite flavor!