« first day (3847 days earlier)      last day (1326 days later) » 
08:00 - 17:0017:00 - 00:00

17:26
rooms don't get deleted tmk
only frozen
RO's certainly can't delete them
mods can, but there'd be no reason to delete some odd vuejs room
Anyone familiar with datatables.net?
How can I change <tr> tag into <div> instead?
that doesn't make sense
divs are invalid in that location
I know
this is custom view with same data as the table
Customize a second view that needs div instead of tr, but with the same data from an initiated table.
17:32
are you trying to clone a row and insert it elsewhere?
or what
no
Im trying to change tag tr to div
you can't do that reliably
rowCallback is post creation
do we have pre creation?
i'm sure thre is one
but
the browser may alter what you give it to be valid
divs cannot be in a tbody or table
Thats true, so I was hoping to have table and ll tags change.
Maybe drawCallback?
Dark places lol
i don't think you'll find anything built-in that will help you accomplish this
it's quite an odd choice
Thanks mate
Tell me about it, but I have to do it some how.
sounds like a job for not datatables to me
I know
 "rowCallback": function( row, data ) {
                $(row).html( '<div class="card">'+data+'</div>' );
            },
17:41
@Farhad Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
Thats the only way I see doing it. it actually worked lol
posted on April 28, 2021 by Prudhvikumar Bommana

The Beta channel has been updated to 91.0.4472.27 for Windows Mac and Linux. A full list of changes in this build is available in the log. Interested in switching release channels?  Find out how here. If you find a new issue, please let us know by filing a bug. The community help forum is also a great place to reach out for help or learn about common issues. Prudhvikumar Bommana Goog

🤮
lol
sometimes the correct way forward is to say no
17:44
not when most developers don't follow good practices
sometimes you just have to make it happen
i mean...
by doing so you're being one of those developers
Not true.
What's the purpose of this div exactly?
just styling?
to take bootstrap classes
can the row not take classes?
17:49
I did that first, but it broke it
so fix it
lol
lol
you are funny
Actually, I wanted to just do an entire new call to render the cards
but I need it to tie to a search functionality which was created before.
my point is it's not hard to both write valid html and have the design/functionality you want
and I get your point
What does a div wrapping <td>'s even do
17:51
I wish you knew what I'm dealing with
lol
Wait
Do you know if you could just turn the row into card?
depends on how datatables uses row
thats the objective
i would assume you can't do it from that callback
given that row is already a node, and it's likely holding a reference to it
Yeah, I just notice the mess it would create
replacing it won't replace references
you wuold effectively need to parse/replace the entire table on every draw
which is incredibly inefficient, and likely far more code than just building your own html anyway
17:54
I know
just realized that too
I think I will just have to separate the API call and create 2 separate views.
18:28
@Farhad that is all I have been working with for past month or so
Have you tried datatables.net/forums
You can use
"createdRow": function( row, data, dataIndex )
to apply styling to either rows or even columns/cells
$('td', row).eq(i).addClass( 'card' );
@BeerusDev I just made my own call it worked faster.
Is there a way to get data but not render into the columns?
Does anyone fancy helping me close this question? stackoverflow.com/questions/67305362/…
@SoftwareEngineer Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
The problem is that the author has made no effort to solve the problem themselves
18:48
have you considered socvr
also... you're assumptions about homework questions aren't quite correct
questions without attempts are valid questions. You're free to downvote them if you find them to be not useful or poorly researched/unclear, but there's no close reason for them specifically for lacking an attempt.
@Farhad ya it is possible
just call it in through your REST
columnsDef
but don't include them in your "columns"
and you can still call on them to manipulate other columns/rows/etc
right
Actually I take that back
you have to render them in the columns but give them
"columns": [
                {"data": "Sample",
              visible: false},
@Farhad maybe you can help me out with this I have yet to figure out.

I have two non-visible rows which I use in my rowGroup: dataSrc. I am manipulating the child row columns which are dates (Monday - Friday), and have hidden values for each column dayStatus and based on that value I add styling to each column in my createdRow function like so
if ( data.MondayStatus == "TW" || data.MondayStatus == "P") {
                    $('td', row).eq(2).addClass( 'green' );
                }
in my startRender function, I need to read those column/cell class values to determine what styling I am going to add to the parent row.
not sure if I can pass the data through the local scope of that function from what I saw on the site, but I am going to try anyway
19:23
posted on April 28, 2021 by Kevin Bleicher

 The Beta channel has been updated to 91.0.4472.25 (Platform version: 13904.16.0) for most Chrome OS devices. This build contains a number of bug fixes and security updates. If you find new issues, please let us know by visiting our forum or filing a bug. Interested in switching channels? Find out how. You can submit feedback using ‘Report an issue...’ in

 
1 hour later…
20:25
21:16
posted on April 28, 2021 by Bindu Suvarna

Hi, everyone! We've released Chrome Beta 91 (91.0.4472.27) for iOS: it'll become available on App Store in next few days. You can see a partial list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Bindu Suvarna Google Chrome

 
2 hours later…
23:10
posted on April 28, 2021 by Ben Mason

Hi everyone! We've just released Chrome Beta 91 (91.0.4472.28) for Android: it's now available on Google Play. You can see a partial list of the changes in the Git log. For details on new features, check out the Chromium blog, and for details on web platform updates, check here. If you find a new issue, please let us know by filing a bug. Ben Mason Google Chrome

23:44
Hi! I need help making a bookmarklet
@12944qwerty it's in sandbox chat
08:00 - 17:0017:00 - 00:00

« first day (3847 days earlier)      last day (1326 days later) »