If there is no data to be displayed, we hide the Datagrid itself and show a simple bordered locked field (with large type) saying "No Data Selected"

Suggested alternative. I am not sure the headers can be hidden as part of the Datagrid. You would want to consult the Datagid documentation with regard to the "header" or "headers".


On 3/19/2025 2:41 PM, jbv via use-livecode wrote:
Hi list,

One more question : is there a way to hide the top row
of a datagrid when no column names need to be displayed ?
I tried
  set the dgProp["columns"] of group "DataGrid 1" to empty
but it displays "col1. col2. etc" by default.

Thanks you in advance.
jbv

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to