Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

target record number - This returns the relative record number of where the selection is after it has been dropped.

Custom CSS Style

As of Profound UI version 5.1.2, the style of the drop target line can be set using custom CSS. By default a dashed, gray line appears when you drag a grid item over a valid drop target:

Image Added

You can change the default style by adding a CSS rule into a custom style sheet under the profoundui/userdata/custom/css/ folder (where profoundui is the installation folder). This rule makes the drop target line red:

Code Block
languagecss
titlecustom.css
.grid-drop-target {
  border-top: 2px dashed red; 
}

Image Added

The width of the line is 2 pixels, and the line color is #CCCCCC by default. If the grid's border width property is set, then the border width overrides any custom CSS:

Image Added

If the grid's border color property is set, then the border color overrides any custom CSS:

Image Added