@edwardsmarkff

@edwardsmarkff

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 52 total)
  • Author
    Posts
  • in reply to: incorrect license key is in EVERY javascript file #113783
    edwardsmarkff
    Participant

    i have a working solution, for now. just use the OLD license key value which is referenced in all the scripts:

    
    <script>
        window.Smart = window.Smart || {};
              //window.Smart.License = 'E5-----D1';
        window.Smart.License = '9B----C29';
    </script>
    
    in reply to: incorrect license key is in EVERY javascript file #113782
    edwardsmarkff
    Participant

    it appears another possible solution is to just remove the old license key entirely rather than replacing it with the new one:

    find ../js/smartHtmlElements/27.1.0/source -type f -exec sed --expression="s/'9B-?-?-?-C29'//;" {} \;

    in reply to: software bug in smart.export.js 27.1.0 #113763
    edwardsmarkff
    Participant

    yes – when i added a second allowExport: false statement, the code crashed with the error:
    Uncaught TypeError: compareFunctions[i] is not a function.

    Unfortunately, I was unable to reproduce this error on CodePen, but i did try. the google-AI workaround(s) work fine, though.

    i would be happy to share my code with you, but on a private channel of some kind. (and you have to promise not to laugh at my coding. 😊)

    in reply to: styling the comments (tooltip) #113726
    edwardsmarkff
    Participant

    this has been difficult for me, so i wanted to show what i have done so far.

    i wanted the tooltip box to PARTIALLY show what was underneath (hidden); otherwise a user might not see this is a tooltip and they need to hover away to close it.

    here is what i have done so far:

    div.secondary.smart-grid-tooltip        {
            background-color        :       transparent                             ;
            --smart-surface         :       rgba(107, 90, 90,  0.8)                 ;
            color                   :       black                   !important      ;
            width                   :       110px                   !important      ;       
    }
    div.secondary.smart-grid-tooltip > textarea     {
            font-size               :       20px                    ;
    }

    please let me know if any more of this should be done with the double-dash css variables instead of using “important!”.

    in reply to: grid appears to ignore new drop-down entry #113668
    edwardsmarkff
    Participant
    in reply to: text item with attributes appears to be inconsistant #113663
    edwardsmarkff
    Participant

    i am guessing the best solution is to completely STOP using inline data-testitem='tester' and ONLY use item.setAttribute().

    in reply to: inconsistency with cell templates #109063
    edwardsmarkff
    Participant

    beginUpdate and endUpdate

    wow that sure sped things up!  thank you very much for your time and your patience with me.

    >>> set all the Grid properties and then append the Grid to the DOM

    by this you mean to use the grid the way all the examples worked like so?
    Smart('#grid', class {
    –or
    window.Smart('#grid', class {

    i was running into some sort of issue with the <script type="module" vs <script type="javascript" but will address this later on.

     

     

    in reply to: inconsistency with cell templates #109055
    edwardsmarkff
    Participant

    hi – i stopped using templates and just switched over to forEachRow because of the inconstancy using template.

    could you please explain why we get different results from the first to the second load?

    https://codepen.io/edwardsmarkf/pen/dyayjxP

    i should think every run would be identical.

    in reply to: extracting and manipulating cell html #109046
    edwardsmarkff
    Participant

    i am reposting this question here since using template appears to be inconsistent.

    in reply to: create a tooltip template using jScript #108947
    edwardsmarkff
    Participant

    scratch question please – i realized that even if i managed to get this to work, using the template is too limiting.   if you wanted to put in line breaks or other css, i dont think this would work.

    in reply to: grid cell notes #108909
    edwardsmarkff
    Participant

    i would REALLY appreciate learning if perhaps ‘cell-notes’ might one day be supported?

    and if not, would it be OK if i took a look at the source code & tried to figure out a better way to do this?

    cell-notes are VERY useful and as you can see from my prototype, it would be relatively to add this feature to grid.

    in reply to: grid cell notes #108903
    edwardsmarkff
    Participant

    with a bit of a hack i think this will work:

    https://www.htmlelements.com/forums/topic/grid-cell-notes/

    hopefully, smart-html-elements will eventually add notes to grid cells….?

     

    in reply to: grid cell notes #108864
    edwardsmarkff
    Participant

    this looks like the best way so far:

    https://codepen.io/edwardsmarkf/pen/xxmzozV

    this makes use of bobby hadz’s title attribute styling.

    i am sure there is a MUCH better way to style the cells that contain a note.

    hopefully, smart-html-elements will add notes to grid cells….?

    in reply to: example of using tooltips with grid #108789
    edwardsmarkff
    Participant

    thanks – FWIW, tooltip seems to be somewhat incompatible with grid.   on a slightly larger grid, the tooltips would take several seconds to open, probably because of the grid javascript overhead.

    so i am going with title instead.

    it would be nice if a future version of grid had a way to insert text information in a notes field like many spreadsheets have, where you see a little red triangle marker in the lower-right corner of the cell indicating there are notes associated with this cell.

    in reply to: grid bug…? #108640
    edwardsmarkff
    Participant

    now THAT was embarrassing! 😳😳😳😳😳

    thank  you!

Viewing 15 posts - 1 through 15 (of 52 total)