Forum Discussion
Custom field rendering in modern list views
But most of those MSDN Client Side Rendering examples are .... okay I'll be nice because you can't expect all "Programmers" to understand WebDesign.... not really smart

What a Fronteer wants is to be able to use the standard Browser technologies.
Why (For G. Sake!) create HTML and apply styling with code if the Browser can do it for you ???
That means we need to be able to set HTML5 Data-Attributes on DIVs that make up the rows/cells in the Modern Experience "Tables"
All we need then to color a whole row is a CSS selector like:
TR [data-priority*='High'] {
background-color:#F00;
}
Note: this idea/application is now (C) Danny Engelman
So NO Microsoft!
Do not built this as a "scenario", because I will sue you
We want 100% JavaScript access in the Modern Experiences
Danny, what you are proposing is what we are planning on building. Through a stable API, we plan on making available the DOM elements that contain list view fields, so you don’t have to search for specific elements via ID, attribute, etc. Once you have the DOM element, you should be able to do anything you want to it.
The reason we talk about this work in terms of “scenarios” is because we plan on being pretty selective about which DOM elements on modern pages that we support being accessed and manipulated in this manner. We will start with a small set and enable more and more as time goes on, based on feedback from the community about the customization scenarios that are necessary. The reason we’re doing it this way is because we want to guarantee these customizations will work going forward as we evolve our UX.
We are aware that once we give developers the ability to place custom code on pages in SharePoint, the developer has access to every DOM element on the page, not just elements that we provide through our stable API. However, we don’t guarantee good results if you take advantage of this; these customizations tend to break when the product team makes changes to the out of the box pages and controls. This is really nothing new – it has always been the plight of the SharePoint developer. The difference is that today, we’re trying to give developers better options in the form of scoped APIs that allow you to create customizations that are robust against future product changes. If the scoped APIs don’t do what you want right away, you can either give us feedback and we’ll try to build the right APIs in the right order to address most common needs, or you can try to do things the “old way” with all the known caveats.
- Danny EngelmanJan 20, 2017Iron Contributor
>> If the scoped APIs don’t do what you want right away, you can try to do things the “old way” with all the known caveats.
Is this the Classic mode option or can we apply scripts in Modern Experiences?
At the moment all my clients are forced to use Classic mode because I am unable to give them what they want,
in Modern Experiences.
I am not doubting technology choices
I am faced with Clients who have had nice colored tables and Priority fields since SP2013,moved to the Cloud and now want those in SPOnline too.
I have actually lost a Client because she wouldn't believe me it wasn't possible in Modern Experiences,
she said a MVP at a conference told her Everything was possible now with React.
I am not an MVP with all the insights, priviliged information and a year headstart in all this,
I am just an a*hole trying to making a living in a market in flux.
So, Yes, I rant and shout and curse
- LincolnDeMarisJan 20, 2017
Microsoft
You rant and shout and curse? I hadn't noticed!
We are talking about custom script in the modern UI here. The custom scripting story for classic UI is unlikely to change too much going forward.