Apply CSS to rows

Comments

4 comments

  • Avatar
    Ben Bauer

    Hi Joe,

    This is a "proceed at your own risk" sort of response.

    In essence, there are no styling features in the DSP page rows beyond the alternating row colors which can be customized: https://dsphelp.syniti.com/741/general/Sys_Admin/Page_Desc/Styles_H.htm

    Below are some details about how you can modify the CSS in the SST/DSP product.  However, the modifications would likely be reversed by any SST/DSP upgrades.

    The SST/DSP product's js & css files are compressed and merged when deployed on a customer/client site.  For example, the checkboxcontrol.css along with many of the other css files are merged into the Web\js\min\cransoft.widgets.x.x.x.css file. You would have to correctly update the cransoft.widgets.x.x.x.css file with any changes that you wanted to patch and then have all of the users clear their browser cache.

    0
    Comment actions Permalink
  • Avatar
    Joseph Flesche

    Proceed at your own risk? Sounds like my kind of update / activity!

    Thank you for sharing the alternating rows link. I can apply that elsewhere on my pages.

    As far as highlighting the rows, the problem is that CSS does not have a parent selector. So I would need to be able to assign a class dynamically and the only way that I know how to do that would be to use JavaScript (which I am sure is also another proceed at your own risk type of update). Which JavaScript library does DSP Version 7.0.3.122 use?

    0
    Comment actions Permalink
  • Avatar
    Ben Bauer

    Hi Joe,

    As far as I can tell, the JavaScript engine is a client-side thing.  In other words, it is a component of the web browser, not the SST/DSP application.  DSP 7.0.3 is certified with the IE11 and Chrome web browsers (https://support.syniti.com/hc/en-us/articles/220920667).  In the case of Chrome, it seems to support all versions of JavaScript: https://www.w3schools.com/Js/js_versions.asp

    0
    Comment actions Permalink
  • Avatar
    Joseph Flesche

    Yes, JavaScript is client side code. But the library is the collection of code that is used to make writing JavaScript easier. In searching the code, it appears that jQuery is the JavaScript library (or one of the libraries) that are used in DSP. I can inject some jQuery, but then the DSP event handlers take over (rowselected). I'll keep thinking about this, but not too sure if there is anything else that can be done.

    0
    Comment actions Permalink

Please sign in to leave a comment.