Что нового
  • Что бы вступить в ряды "Принятый кодер" Вам нужно:
    Написать 10 полезных сообщений или тем и Получить 10 симпатий.
    Для того кто не хочет терять время,может пожертвовать средства для поддержки сервеса, и вступить в ряды VIP на месяц, дополнительная информация в лс.

  • Пользаватели которые будут спамить, уходят в бан без предупреждения. Спам сообщения определяется администрацией и модератором.

  • Гость, Что бы Вы хотели увидеть на нашем Форуме? Изложить свои идеи и пожелания по улучшению форума Вы можете поделиться с нами здесь. ----> Перейдите сюда
  • Все пользователи не прошедшие проверку электронной почты будут заблокированы. Все вопросы с разблокировкой обращайтесь по адресу электронной почте : info@guardianelinks.com . Не пришло сообщение о проверке или о сбросе также сообщите нам.

Next Generation Data Grid for Delphi: Columns Editor

Sascha

Заместитель Администратора
Команда форума
Администратор
Регистрация
9 Май 2015
Сообщения
1,071
Баллы
155
Возраст
52
Intro

If you’re developing in Delphi and looking for a powerful, flexible, and highly customizable data grid solution, then

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

is the perfect choice. In this blog, we'll demonstrate how to enable one of the latest additions for the TMS FNC Data Grid, the columns editor.

What is TMS FNC Data Grid?

To have a better understanding on what TMS FNC Data Grid is and has to offer, please read through

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

first.

TMS Software Delphi  Components




Enabling the columns editor


When you want to keep track of hidden columns and visualize them via interaction, the columns editor can be used. To enable the columns editor, simply call


Grid.ShowColumnsEditor;
When there are no hidden columns, the columns editor will be empty so let's hide a couple of columns by default. Note that it's important to have ColumnDragging to true and DragMode set to gdmDrag.



Grid.LoadSampleData;
Grid.HideColumn(3);
Grid.HideColumn(2);
Grid.Options.Mouse.ColumnDragging := True;
Grid.Options.Mouse.DragMode := gdmDrag;

Start dragging columns from the grid to the editor or select an item in the list and drag it in the grid.

TMS Software Delphi  Components


There are additional options to disable dragging from the list, as well as showing all columns and visualize them with a checkbox instead.


Grid.ColumnsEditor.Options.EnableDragDrop := False;
Grid.ColumnsEditor.Options.Mode := gcemAll;

Conclusion

The TMS FNC Data Grid is a powerful and flexible component for Delphi developers, offering extensive features for displaying, managing, and interacting with data. Whether you're building a desktop, mobile or web application, this grid can handle a wide range of data scenarios while providing a sleek, modern user interface.

In this blog, we’ve demonstrated how you can show the columns editor, allowing you to display columns of your choice, but its capabilities go far beyond what we’ve shown here. We encourage you to explore its features to fully unlock its potential in your applications.


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

 
Вверх