C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

컴포넌트/라이브러리
Delphi/C++Builder Programming Components&Libraries
[566] SMDBGrid component - Freeware
유비쿼터스 [janux] 20055 읽음    2009-03-07 18:40
[출처] http://www.scalabium.com
[다운로드] http://www.scalabium.com/smdbgrid.htm



[FAQ]
http://www.scalabium.com/faq/smdbgrid.htm
ex)
1. How I can add the sorted column?

You may do it in a few different ways:
- every column (TSMDBColumn type) have the SortType property

{add a new sorted column in list - ascending order}
(SMDBGrid.Columns[1] as TSMDBColumn).SortType := stAscending

{add a new sorted column in list - descending order}
(SMDBGrid.Columns[2] as TSMDBColumn).SortType := stDescending;

- as alternative, you may use the SetSortField method for TSMDBGrid

SMDBGrid.SetSortField(yourDataset.FindField('OrderNo'), stAscending);

등등...

+ -

관련 글 리스트
566 SMDBGrid component - Freeware 유비쿼터스 20055 2009/03/07
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.