no data.row attribute set to when using a language file
no data.row attribute set to when using a language file
 online student registration - Germany            
            
                Posts: 6Questions: 3Answers: 0
online student registration - Germany            
            
                Posts: 6Questions: 3Answers: 0            
            When I use a language file for initialization the <tr> elements suddenly don't have $("tr-selector").data("row"), that they normally have. Bug or misunderstanding? Thanks a lot
This question has an accepted answers - jump to answer
This discussion has been closed.
            
Answers
I'm not sure what
$("tr-selector").data("row")is or how or when you are using it."tr-selectordoesn't seem like a valid selector. Can you provide a simple test case showing the issue so we can help debug?https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Possibly you are running into the note found in the
language.urldocs:Kevin
tr-selector in $("tr-selector").data("row") is just the placeholder for some tr. Actually, this question is from a learning project some time ago, so I cannot really verify and check again. I assume, that this would have been a larger issue, if it really was a bug. So ... Thanks for your reply. Martin